Created
November 1, 2012 08:10
-
-
Save aji/3992427 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/libmowgli/ext/json.c b/src/libmowgli/ext/json.c | |
index 191adf0..5614f35 100644 | |
--- a/src/libmowgli/ext/json.c | |
+++ b/src/libmowgli/ext/json.c | |
@@ -34,7 +34,7 @@ static mowgli_json_t json_true = | |
{ | |
.tag = MOWGLI_JSON_TAG_BOOLEAN, | |
.refcount = JSON_REFCOUNT_CONSTANT, | |
- .v_bool = true, | |
+ { .v_bool = true, } | |
}; | |
mowgli_json_t *mowgli_json_true = &json_true; | |
@@ -42,7 +42,7 @@ static mowgli_json_t json_false = | |
{ | |
.tag = MOWGLI_JSON_TAG_BOOLEAN, | |
.refcount = JSON_REFCOUNT_CONSTANT, | |
- .v_bool = false, | |
+ { .v_bool = false, } | |
}; | |
mowgli_json_t *mowgli_json_false = &json_false; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment