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 0db7b80..c290efe 100644
--- a/upb/json/printer.c
+++ b/upb/json/printer.c
@@ -85,7 +85,7 @@ UPB_INLINE bool is_json_escaped(char c) {
return uc < kControlCharLimit || uc == '"' || uc == '\\';
}
-UPB_INLINE char* json_nice_escape(char c) {
+UPB_INLINE const char* json_nice_escape(char c) {
switch (c) {
case '"': return "\\\"";
case '\\': return "\\\\";
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback