summaryrefslogtreecommitdiff
path: root/upb/json/printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'upb/json/printer.c')
-rw-r--r--upb/json/printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/json/printer.c b/upb/json/printer.c
index 132736c..539f83a 100644
--- a/upb/json/printer.c
+++ b/upb/json/printer.c
@@ -183,7 +183,7 @@ static bool putkey(void *closure, const void *handler_data) {
return true;
}
-#define CHKFMT(val) if ((val) == -1) return false;
+#define CHKFMT(val) if ((val) == (size_t)-1) return false;
#define CHK(val) if (!(val)) return false;
#define TYPE_HANDLERS(type, fmt_func) \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback