summaryrefslogtreecommitdiff
path: root/internal_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'internal_tests.c')
-rw-r--r--internal_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal_tests.c b/internal_tests.c
index 4df068a..0fcddef 100644
--- a/internal_tests.c
+++ b/internal_tests.c
@@ -10,7 +10,7 @@ static void test_safe_strtoull(void);
static void test_safe_strtoll(void);
static void test_safe_strtoull() {
- unsigned long long val;
+ uint64_t val;
assert(safe_strtoull("123", &val));
assert(val == 123);
assert(safe_strtoull("+123", &val));
@@ -27,7 +27,7 @@ static void test_safe_strtoull() {
}
static void test_safe_strtoll() {
- long long val;
+ int64_t val;
assert(safe_strtoll("123", &val));
assert(val == 123);
assert(safe_strtoll("+123", &val));