Nebula: Use B_PRId32 instead of %ld

This commit is contained in:
John Scipione
2015-07-08 15:33:01 -07:00
parent 3ad91dc4f1
commit 1a1667fc1d
+1 -1
View File
@@ -470,7 +470,7 @@ SettingsView::SettingsView(BRect frame)
if (widths[i] == 0) if (widths[i] == 0)
label.SetTo("screen resolution"); label.SetTo("screen resolution");
else else
label.SetToFormat("%ld pixels", widths[i]); label.SetToFormat("%" B_PRId32 " pixels", widths[i]);
BMessage* message = new BMessage(kMsgWidth); BMessage* message = new BMessage(kMsgWidth);
message->AddInt32("width", widths[i]); message->AddInt32("width", widths[i]);