diff options
author | Brad King <brad.king@kitware.com> | 2009-11-04 18:10:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-11-04 18:10:11 (GMT) |
commit | c9a9c88634c98174d9fae712a31327cbd8d0963d (patch) | |
tree | 64eff28a03a5ca2992ca9d7b66d7c8c3be74416e /Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c | |
parent | 12baf7b7f18fcc13db5542c116d59bdc056595d8 (diff) | |
download | CMake-c9a9c88634c98174d9fae712a31327cbd8d0963d.zip CMake-c9a9c88634c98174d9fae712a31327cbd8d0963d.tar.gz CMake-c9a9c88634c98174d9fae712a31327cbd8d0963d.tar.bz2 |
libarchive: Fix Borland integer constants
Some versions of Borland provide <stdint.h>, so we use it when possible.
However, the 64-bit signed and unsigned integer min/max constants cause
overflow warnings from Borland itself! For these constants we fall back
on our default definitions.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c b/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c index 9a64880..4e09c2f 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c +++ b/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c @@ -30,7 +30,7 @@ __FBSDID("$FreeBSD$"); #if defined(_WIN32) && !defined(__CYGWIN__) #if defined(__BORLANDC__) || (defined(_MSC_VER) && _MSC_VER <= 1300) -# define EPOC_TIME (116444736000000000) +# define EPOC_TIME (116444736000000000UI64) #else # define EPOC_TIME (116444736000000000ULL) #endif |