Skip to content

Commit

Permalink
Merge pull request json-c#311 from jj1118/master
Browse files Browse the repository at this point in the history
Fix error C3688 when compiling on Visual Studio 2015
  • Loading branch information
hawicz authored Mar 26, 2017
2 parents 4e67365 + 0f81ecf commit 6bd86d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ static int json_object_int_to_json_string(struct json_object* jso,
{
/* room for 19 digits, the sign char, and a null term */
static char sbuf[21];
snprintf(sbuf, sizeof(sbuf), "%"PRId64, jso->o.c_int64);
snprintf(sbuf, sizeof(sbuf), "%" PRId64, jso->o.c_int64);
return printbuf_memappend (pb, sbuf, strlen(sbuf));
}

Expand Down

0 comments on commit 6bd86d1

Please sign in to comment.