SoftwareUpdater: Replace %d with B_PRIu32 for uint32
(gcc2h build gave me a stern warning)
This commit is contained in:
@@ -63,7 +63,7 @@ SoftwareUpdaterWindow::SoftwareUpdaterWindow()
|
|||||||
headerView = new BStringView("header",
|
headerView = new BStringView("header",
|
||||||
"Software updates are available.", B_WILL_DRAW);
|
"Software updates are available.", B_WILL_DRAW);
|
||||||
char detailString[1024];
|
char detailString[1024];
|
||||||
snprintf(detailString, 1024, "There are %d updates available"
|
snprintf(detailString, 1024, "There are %" B_PRIu32 " updates available"
|
||||||
" for your system.", updatesAvailable);
|
" for your system.", updatesAvailable);
|
||||||
detailView = new BStringView("detail", detailString, B_WILL_DRAW);
|
detailView = new BStringView("detail", detailString, B_WILL_DRAW);
|
||||||
updateButton->MakeDefault(true);
|
updateButton->MakeDefault(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user