diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 17:44:51 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 17:44:51 +0000 |
commit | c7edfe0f5f34fca20bfc13fbcd5c64d4d4951108 (patch) | |
tree | 1a80d0a084d860f9f9f0c6b7b385a7f581b58e2a /src/httrack-library.h | |
parent | 381eebc05697ce57b4c2941a879bcdde792e1a06 (diff) |
Fixes.
Diffstat (limited to 'src/httrack-library.h')
-rw-r--r-- | src/httrack-library.h | 3 |
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*). **/ |