summaryrefslogtreecommitdiff
path: root/src/httrack-library.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/httrack-library.h')
-rw-r--r--src/httrack-library.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/httrack-library.h b/src/httrack-library.h
index c32a84f..66a7974 100644
--- a/src/httrack-library.h
+++ b/src/httrack-library.h
@@ -34,6 +34,7 @@ Please visit our Website: http://www.httrack.com
#define HTTRACK_DEFLIB
#include "htsglobal.h"
+#include <inttypes.h>
#ifndef HTS_DEF_FWSTRUCT_httrackp
#define HTS_DEF_FWSTRUCT_httrackp
@@ -300,7 +301,7 @@ typedef struct utimbuf STRUCT_UTIMBUF;
/** Macro aimed to break at build-time if a size is not a sizeof() strictly
* greater than sizeof(char*). **/
#undef COMPILE_TIME_CHECK_SIZE
-#define COMPILE_TIME_CHECK_SIZE(A) ((void (*)(char[A - sizeof(char*) - 1])) NULL)
+#define COMPILE_TIME_CHECK_SIZE(A) (void) ((void (*)(char[A - sizeof(char*) - 1])) NULL)
/** Macro aimed to break at compile-time if a size is not a sizeof() strictly
* greater than sizeof(char*). **/