diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-01 23:07:06 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-01 23:07:06 -0400 |
commit | 200aafc105a62f251462ea3036e9d3b3be39a9fd (patch) | |
tree | 2518728401bacdac9449417693de0d385f88ea72 | |
parent | 7aa7c668521caede54307fe4047cbe72f0ed5244 (diff) |
Integer, UInteger => int64_t, uint64_t
-rw-r--r-- | toc.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -7,11 +7,11 @@ #include <string.h> #include <ctype.h> #include <limits.h> -#include <stdint.h> +#include <inttypes.h> #include <stdbool.h> -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" |