From c144d33901412cccf289d0b40b7c62e1560f5070 Mon Sep 17 00:00:00 2001 From: "Ithamar R. Adema" Date: Mon, 1 Sep 2014 13:12:59 +0200 Subject: [PATCH] Json: use B_PRI* constants This fixes the x86_64 build. --- src/kits/shared/Json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/shared/Json.cpp b/src/kits/shared/Json.cpp index a80335006a..188e3a4d2f 100644 --- a/src/kits/shared/Json.cpp +++ b/src/kits/shared/Json.cpp @@ -43,7 +43,7 @@ public: error = fError.String(); else error = strerror(fReturnCode); - printf("Parse error at %ld: %s\n", fPosition, error); + printf("Parse error at %" B_PRIi32 ": %s\n", fPosition, error); } status_t ReturnCode() const