SoftwareUpdater: Replace %d with B_PRIu32 for uint32

(gcc2h build gave me a stern warning)
This commit is contained in:
John Scipione 2016-12-09 13:50:13 -08:00
parent 7d82a586b0
commit 6ff8fbf568

View File

@ -63,7 +63,7 @@ SoftwareUpdaterWindow::SoftwareUpdaterWindow()
headerView = new BStringView("header",
"Software updates are available.", B_WILL_DRAW);
char detailString[1024];
snprintf(detailString, 1024, "There are %d updates available"
snprintf(detailString, 1024, "There are %" B_PRIu32 " updates available"
" for your system.", updatesAvailable);
detailView = new BStringView("detail", detailString, B_WILL_DRAW);
updateButton->MakeDefault(true);