From 49f9e4eddf735746a07826f47a249e575baab953 Mon Sep 17 00:00:00 2001 From: bakpakin Date: Tue, 20 Sep 2022 15:42:20 -0500 Subject: [PATCH] Fix ifdef in capi.c for janet_getuinteger64 and janet_getinteger64 --- src/core/capi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/capi.c b/src/core/capi.c index c80c7304..8f7ec631 100644 --- a/src/core/capi.c +++ b/src/core/capi.c @@ -260,7 +260,7 @@ int32_t janet_getinteger(const Janet *argv, int32_t n) { } int64_t janet_getinteger64(const Janet *argv, int32_t n) { -#ifdef JANET_INTTYPES +#ifdef JANET_INT_TYPES return janet_unwrap_s64(argv[n]); #else Janet x = argv[n]; @@ -272,7 +272,7 @@ int64_t janet_getinteger64(const Janet *argv, int32_t n) { } uint64_t janet_getuinteger64(const Janet *argv, int32_t n) { -#ifdef JANET_INTTYPES +#ifdef JANET_INT_TYPES return janet_unwrap_u64(argv[n]); #else Janet x = argv[n];