[TOOLS] Fix/suppress all MSVC/x64 warnings (#1525)

This commit is contained in:
Timo Kreuzer 2019-04-15 13:29:33 +02:00 committed by Colin Finck
parent 0aed8b09a4
commit f47f45dbdd
No known key found for this signature in database
GPG key ID: 1BA74E70456BA1A9
29 changed files with 140 additions and 37 deletions

View file

@ -21,7 +21,7 @@ else()
infhostput.c
infhostrtl.c)
add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST)
add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST -D_CRT_SECURE_NO_WARNINGS)
add_library(inflibhost ${SOURCE})
if(NOT MSVC)

View file

@ -582,7 +582,7 @@ InfpGetStringField(PINFCONTEXT Context,
0);
if (RequiredSize != NULL)
*RequiredSize = Size + 1;
*RequiredSize = (ULONG)Size + 1;
if (ReturnBuffer != NULL)
{