From 200aafc105a62f251462ea3036e9d3b3be39a9fd Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Tue, 1 Oct 2019 23:07:06 -0400 Subject: Integer, UInteger => int64_t, uint64_t --- toc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/toc.c b/toc.c index e36bbd0..8bc8c06 100644 --- a/toc.c +++ b/toc.c @@ -7,11 +7,11 @@ #include #include #include -#include +#include #include -typedef unsigned long long UInteger; -typedef long long Integer; +typedef uint64_t UInteger; +typedef int64_t Integer; typedef long double Floating; /* OPTIM: Switch to double, but make sure floating-point literals are right */ typedef uint8_t U8; @@ -28,8 +28,8 @@ typedef float F32; typedef double F64; #define INTEGER_MAX INT64_MAX -#define UINTEGER_FMT "%llu" -#define INTEGER_FMT "%lld" +#define UINTEGER_FMT "%"PRIu64 +#define INTEGER_FMT "%"PRId64 #include "location.c" #include "err.c" -- cgit v1.2.3