portable types

This commit is contained in:
Glenn Maynard
2002-12-17 06:27:48 +00:00
parent 67f7a15deb
commit 9565113bf8
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
#include "RageUtil.h"
ULONG randseed = time(NULL);
unsigned long randseed = time(NULL);
#include <direct.h>
#include <numeric>
@@ -632,7 +632,7 @@ unsigned int GetHashForDirectory( CString sDir )
return hash;
}
DWORD GetFileSizeInBytes( const CString &sFilePath )
unsigned GetFileSizeInBytes( const CString &sFilePath )
{
HANDLE hFile = CreateFile(
sFilePath, // pointer to name of the file