diff --git a/Contrib/Library/LibraryLocal/LibraryLocal.cpp b/Contrib/Library/LibraryLocal/LibraryLocal.cpp index 5b4cb7ea..1151a15a 100644 --- a/Contrib/Library/LibraryLocal/LibraryLocal.cpp +++ b/Contrib/Library/LibraryLocal/LibraryLocal.cpp @@ -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(high)); + fprintf(fHdr, "!define LIBRARY_VERSION_LOW %lu\n", static_cast(low)); } fclose(fHdr); diff --git a/Source/zlib/ZUTIL.H b/Source/zlib/ZUTIL.H index e27b0ea5..264fe27a 100644 --- a/Source/zlib/ZUTIL.H +++ b/Source/zlib/ZUTIL.H @@ -69,6 +69,7 @@ typedef unsigned long ulg; # include "../exehead/util.h" # define zmemcpy mini_memcpy # else +# include // Avoid "incompatible implicit declaration of built-in function" # define zmemcpy memcpy # endif #else