[tor-dev] [Patch] src/test/test.h

Nick Mathewson nickm at freehaven.net
Wed Aug 13 19:11:30 UTC 2014


On Wed, Aug 13, 2014 at 10:47 AM, Gisle Vanem <gvanem at yahoo.no> wrote:
> The 'U64_PRINTF_TYPE' is defined twice for MSVC.
> An 'I64_PRINTF_TYPE'  is needed too:
>
> --- orig/src/test/test.h 2014-05-13 23:24:22 +0000
> +++ src/test/test.h     2014-05-13 23:26:51 +0000
> @@ -61,7 +61,7 @@
>
> #ifdef _MSC_VER
> #define U64_PRINTF_TYPE uint64_t
> -#define U64_PRINTF_TYPE int64_t
> +#define I64_PRINTF_TYPE int64_t
> #else
> #define U64_PRINTF_TYPE unsigned long long
> #define I64_PRINTF_TYPE long long
>

Thanks, applied!


More information about the tor-dev mailing list