summaryrefslogtreecommitdiff
path: root/source/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/input_buffer.test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tests/input_buffer.test.c b/source/tests/input_buffer.test.c
index d37ebb6..4712da9 100644
--- a/source/tests/input_buffer.test.c
+++ b/source/tests/input_buffer.test.c
@@ -56,7 +56,7 @@ TEST("input buffer read twice") {
is_destroy(in);
}
-static int is_integer_(str_t const data) {
+static i8 is_integer_(str_t const data) {
for (ptrdiff_t i = 0; i < data.size; i++)
if (data.values[i] < '0' || data.values[i] > '9')
return 0;