From a213eeab9f6a1329d0e62f41072e47d6100ac66e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20M=C3=BCller?= Date: Sat, 7 Dec 2024 15:12:02 -0300 Subject: [PATCH] fix: bad typing conversion between enum and long Fix bad typing conversion between enum and long Closes #4 --- json-build.h | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/json-build.h b/json-build.h index cfde0ef..5638b96 100644 --- a/json-build.h +++ b/json-build.h @@ -327,7 +327,7 @@ jsonb_object_pop(jsonb *b, char buf[], size_t bufsize) return code; } -static long +static jsonbcode _jsonb_escape( size_t *pos, char buf[], size_t bufsize, const char str[], size_t len) { diff --git a/test/Makefile b/test/Makefile index ebf246f..681648c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,5 +1,5 @@ TOP = .. -CC ?= gcc +CC = cc EXES = test fuzz