Skip to content

Instantly share code, notes, and snippets.

@aji
Created November 1, 2012 08:10
Show Gist options
  • Save aji/3992427 to your computer and use it in GitHub Desktop.
Save aji/3992427 to your computer and use it in GitHub Desktop.
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