File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ int TDBDIR::GetMaxSize(PGLOBAL g)
711
711
if (MaxSize < 0 ) {
712
712
int n = -1 ;
713
713
#if defined(__WIN__)
714
- int h;
714
+ intptr_t h;
715
715
716
716
// Start searching files in the target directory.
717
717
h = _findfirst (Path (g), &FileData);
@@ -1007,7 +1007,7 @@ int TDBSDR::FindInDir(PGLOBAL g)
1007
1007
1008
1008
// Start searching files in the target directory.
1009
1009
#if defined(__WIN__)
1010
- int h = _findfirst (Path (g), &FileData);
1010
+ intptr_t h = _findfirst (Path (g), &FileData);
1011
1011
1012
1012
if (h != -1 ) {
1013
1013
for (n = 1 ;; n++)
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class TDBDIR : public TDBASE {
134
134
int iFile; // Index of currently retrieved file
135
135
#if defined(__WIN__)
136
136
_finddata_t FileData; // Find data structure
137
- int Hsearch; // Search handle
137
+ intptr_t Hsearch; // Search handle
138
138
char Drive[_MAX_DRIVE]; // Drive name
139
139
#else // !__WIN__
140
140
struct stat Fileinfo; // File info structure
@@ -184,7 +184,7 @@ class TDBSDR : public TDBDIR {
184
184
struct _Sub_Dir *Next;
185
185
struct _Sub_Dir *Prev;
186
186
#if defined(__WIN__)
187
- int H; // Search handle
187
+ intptr_t H; // Search handle
188
188
#else // !__WIN__
189
189
DIR *D;
190
190
#endif // !__WIN__
You can’t perform that action at this time.
0 commit comments