From 352a019bd348c95b85153343116d86e2030cccf8 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Mon, 9 May 2022 21:52:16 -0400 Subject: [PATCH] chore: clang-format json.h --- runtime/include/json.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/include/json.h b/runtime/include/json.h index fd27124..25e6b00 100644 --- a/runtime/include/json.h +++ b/runtime/include/json.h @@ -141,7 +141,7 @@ parse_uint16_t(jsmntok_t tok, const char *json_buf, const char *key, uint16_t *r static inline int parse_uint32_t(jsmntok_t tok, const char *json_buf, const char *key, uint32_t *ret) { - char *end = NULL; + char *end = NULL; intmax_t temp = strtoimax(&json_buf[tok.start], &end, 10); if (end != &json_buf[tok.end] || temp < 0 || temp > UINT32_MAX) { @@ -156,7 +156,7 @@ parse_uint32_t(jsmntok_t tok, const char *json_buf, const char *key, uint32_t *r static inline int parse_uint64_t(jsmntok_t tok, const char *json_buf, const char *key, uint64_t *ret) { - char *end = NULL; + char *end = NULL; intmax_t temp = strtoimax(&json_buf[tok.start], &end, 10); if (end != &json_buf[tok.end] || temp < 0 || temp > UINT64_MAX) {