Skip to content

Commit

Permalink
Nebula: Use B_PRId32 instead of %ld
Browse files Browse the repository at this point in the history
  • Loading branch information
jscipione committed Jul 8, 2015
1 parent 3ad91dc commit 1a1667f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/add-ons/screen_savers/nebula/Nebula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ SettingsView::SettingsView(BRect frame)
if (widths[i] == 0)
label.SetTo("screen resolution");
else
label.SetToFormat("%ld pixels", widths[i]);
label.SetToFormat("%" B_PRId32 " pixels", widths[i]);

BMessage* message = new BMessage(kMsgWidth);
message->AddInt32("width", widths[i]);
Expand Down

0 comments on commit 1a1667f

Please sign in to comment.