diff --git a/Contrib/Library/LibraryLocal/LibraryLocal.cpp b/Contrib/Library/LibraryLocal/LibraryLocal.cpp index d500ed20..d083490e 100644 --- a/Contrib/Library/LibraryLocal/LibraryLocal.cpp +++ b/Contrib/Library/LibraryLocal/LibraryLocal.cpp @@ -154,8 +154,8 @@ int _tmain(int argc, TCHAR* argv[]) } else { - fprintf(fHdr, "!define LIBRARY_VERSION_HIGH %u\n", high); - fprintf(fHdr, "!define LIBRARY_VERSION_LOW %u\n", low); + fprintf(fHdr, "!define LIBRARY_VERSION_HIGH %lu\n", high); + fprintf(fHdr, "!define LIBRARY_VERSION_LOW %lu\n", low); } fclose(fHdr); diff --git a/Source/Platform.h b/Source/Platform.h index c34c154e..19818f4e 100644 --- a/Source/Platform.h +++ b/Source/Platform.h @@ -39,7 +39,7 @@ // basic types typedef unsigned char BYTE, *PBYTE, *LPBYTE; typedef unsigned short WORD, *LPWORD; -typedef unsigned int DWORD, *LPDWORD; +typedef unsigned long DWORD, *LPDWORD; typedef short SHORT; typedef unsigned short USHORT; typedef unsigned int UINT;