diff options
Diffstat (limited to 'src/cc-compat.h')
| -rw-r--r-- | src/cc-compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h index 9f23dcae2..a5e4ce17e 100644 --- a/src/cc-compat.h +++ b/src/cc-compat.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2012 the libgit2 contributors + * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. @@ -38,8 +38,10 @@ /* Define the printf format specifer to use for size_t output */ #if defined(_MSC_VER) || defined(__MINGW32__) # define PRIuZ "Iu" +# define PRIxZ "Ix" #else # define PRIuZ "zu" +# define PRIxZ "zx" #endif /* Micosoft Visual C/C++ */ |
