Bug 1169712 - Add casts for GCC 5.1 -Wformat. r=fitzgen

This commit is contained in:
Tom Tromey 2015-05-29 11:02:00 -04:00
parent 6e9fd947fd
commit 5c9b6d08ea

View File

@ -18,8 +18,8 @@ class CCWTestTracer : public JS::CallbackTracer {
printf("*thingp = %p\n", *thingp);
printf("*expectedThingp = %p\n", *expectedThingp);
printf("kind = %d\n", kind);
printf("expectedKind = %d\n", expectedKind);
printf("kind = %d\n", static_cast<int>(kind));
printf("expectedKind = %d\n", static_cast<int>(expectedKind));
if (*thingp != *expectedThingp || kind != expectedKind)
okay = false;