diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-07-23 02:12:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-07-23 02:12:40 +0000 |
commit | b98e4a0cd71e1aa617e7e8b2645947f0eaab163f (patch) | |
tree | f3d9399e378e7c8ede1cae071983b82354cf71ed /src | |
parent | 2bd6040f629cc8738704f0f533d921d070b467a2 (diff) | |
download | tor-b98e4a0cd71e1aa617e7e8b2645947f0eaab163f.tar tor-b98e4a0cd71e1aa617e7e8b2645947f0eaab163f.tar.gz |
add parenthesis to U64_PRINTF_ARG macro
svn:r4642
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index dbf8828ab..5ac850bf3 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -77,7 +77,7 @@ size_t strlcpy(char *dst, const char *src, size_t siz); #define U64_FORMAT "%I64u" #define U64_LITERAL(n) (n ## ui64) #else -#define U64_PRINTF_ARG(a) ((long long unsigned int)a) +#define U64_PRINTF_ARG(a) ((long long unsigned int)(a)) #define U64_SCANF_ARG(a) ((long long unsigned int*)a) #define U64_FORMAT "%llu" #define U64_LITERAL(n) (n ## llu) |