Fixed two GCC POSIX warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6849 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
062a89273c
commit
450343788f
2 changed files with 3 additions and 2 deletions
|
@ -150,8 +150,8 @@ int _tmain(int argc, TCHAR* argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
fprintf(fHdr, "!define LIBRARY_VERSION_HIGH %lu\n", high);
|
||||
fprintf(fHdr, "!define LIBRARY_VERSION_LOW %lu\n", low);
|
||||
fprintf(fHdr, "!define LIBRARY_VERSION_HIGH %lu\n", static_cast<unsigned long>(high));
|
||||
fprintf(fHdr, "!define LIBRARY_VERSION_LOW %lu\n", static_cast<unsigned long>(low));
|
||||
}
|
||||
|
||||
fclose(fHdr);
|
||||
|
|
|
@ -69,6 +69,7 @@ typedef unsigned long ulg;
|
|||
# include "../exehead/util.h"
|
||||
# define zmemcpy mini_memcpy
|
||||
# else
|
||||
# include <string.h> // Avoid "incompatible implicit declaration of built-in function"
|
||||
# define zmemcpy memcpy
|
||||
# endif
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue