Skip to content

Commit

Permalink
Merge pull request #81 from watsonsong/master
Browse files Browse the repository at this point in the history
fix compile error on Linux by gcc 4.7
  • Loading branch information
nobu-k committed Apr 7, 2014
2 parents 731bc64 + d8c7fd5 commit 9f33266
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/objectc.c
Expand Up @@ -111,11 +111,11 @@ void msgpack_object_print(FILE* out, msgpack_object o)
break;

case MSGPACK_OBJECT_POSITIVE_INTEGER:
fprintf(out, "%"PRIu64, o.via.u64);
fprintf(out, "%" PRIu64, o.via.u64);
break;

case MSGPACK_OBJECT_NEGATIVE_INTEGER:
fprintf(out, "%"PRIi64, o.via.i64);
fprintf(out, "%" PRIi64, o.via.i64);
break;

case MSGPACK_OBJECT_DOUBLE:
Expand Down Expand Up @@ -164,7 +164,7 @@ void msgpack_object_print(FILE* out, msgpack_object o)

default:
// FIXME
fprintf(out, "#<UNKNOWN %i %"PRIu64">", o.type, o.via.u64);
fprintf(out, "#<UNKNOWN %i %" PRIu64 ">", o.type, o.via.u64);
}
}

Expand Down

0 comments on commit 9f33266

Please sign in to comment.