Skip to content

Commit a213eea

Browse files
committed
fix: bad typing conversion between enum and long
Fix bad typing conversion between enum and long Closes #4
1 parent 1f05cf0 commit a213eea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

json-build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ jsonb_object_pop(jsonb *b, char buf[], size_t bufsize)
327327
return code;
328328
}
329329

330-
static long
330+
static jsonbcode
331331
_jsonb_escape(
332332
size_t *pos, char buf[], size_t bufsize, const char str[], size_t len)
333333
{

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
TOP = ..
2-
CC ?= gcc
2+
CC = cc
33

44
EXES = test fuzz
55

0 commit comments

Comments
 (0)