DWORD type is unsigned long, not int
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6321 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a93eebeef6
commit
d5962e9b67
2 changed files with 3 additions and 3 deletions
|
@ -154,8 +154,8 @@ int _tmain(int argc, TCHAR* argv[])
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(fHdr, "!define LIBRARY_VERSION_HIGH %u\n", high);
|
fprintf(fHdr, "!define LIBRARY_VERSION_HIGH %lu\n", high);
|
||||||
fprintf(fHdr, "!define LIBRARY_VERSION_LOW %u\n", low);
|
fprintf(fHdr, "!define LIBRARY_VERSION_LOW %lu\n", low);
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fHdr);
|
fclose(fHdr);
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
// basic types
|
// basic types
|
||||||
typedef unsigned char BYTE, *PBYTE, *LPBYTE;
|
typedef unsigned char BYTE, *PBYTE, *LPBYTE;
|
||||||
typedef unsigned short WORD, *LPWORD;
|
typedef unsigned short WORD, *LPWORD;
|
||||||
typedef unsigned int DWORD, *LPDWORD;
|
typedef unsigned long DWORD, *LPDWORD;
|
||||||
typedef short SHORT;
|
typedef short SHORT;
|
||||||
typedef unsigned short USHORT;
|
typedef unsigned short USHORT;
|
||||||
typedef unsigned int UINT;
|
typedef unsigned int UINT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue