aboutsummaryrefslogtreecommitdiff
path: root/xs_json.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-09-14 18:59:49 +0200
committerdefault <nobody@localhost>2024-09-14 18:59:49 +0200
commit31ce1af73630143036d9cfc6a8a5083402f6b7aa (patch)
tree1a2e9318b76010cb28ddcb4e4d31d7bdff91dbc2 /xs_json.h
parentc6594949f990099dadef738185cb2699ff3b0372 (diff)
Minor code cleaning.
Diffstat (limited to 'xs_json.h')
-rw-r--r--xs_json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_json.h b/xs_json.h
index de9600f..69249b1 100644
--- a/xs_json.h
+++ b/xs_json.h
@@ -212,7 +212,7 @@ static xs_val *_xs_json_load_lexer(FILE *f, js_type *t)
*t = JS_ERROR;
/* skip blanks */
- while ((c = fgetc(f)) == L' ' || c == L'\t' || c == L'\n' || c == L'\r');
+ while ((c = fgetc(f)) == ' ' || c == '\t' || c == '\n' || c == '\r');
if (c == '{')
*t = JS_OCURLY;