Skip to content
Snippets Groups Projects
Commit ededf07e authored by rswindell's avatar rswindell
Browse files

Reset maximum diskspace return value to 4GB.

parent 4f0cabde
Branches
Tags
No related merge requests found
...@@ -395,7 +395,7 @@ ulong DLLCALL getfreediskspace(char* path) ...@@ -395,7 +395,7 @@ ulong DLLCALL getfreediskspace(char* path)
#else #else
if(avail.u.HighPart) if(avail.u.HighPart)
#endif #endif
return(0x7fffffff); /* 2GB max */ return(0xffffffff); /* 4GB max */
#ifdef _ANONYMOUS_STRUCT #ifdef _ANONYMOUS_STRUCT
return(avail.LowPart); return(avail.LowPart);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment