ShorcutsPreferences: fixes 64 bit warnings
This commit is contained in:
parent
4c1efaad9c
commit
0bbc331f6b
|
@ -488,7 +488,7 @@ ShortcutsSpec::GetCellText(int whichColumn) const
|
|||
if (temp == NULL)
|
||||
temp = "";
|
||||
} else if (fKey > 0xFF) {
|
||||
sprintf(fScratch, "#%lx", fKey);
|
||||
sprintf(fScratch, "#%" B_PRIx32, fKey);
|
||||
return fScratch;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -569,7 +569,8 @@ ShortcutsWindow::MessageReceived(BMessage* msg)
|
|||
if (fLastOpenWasAppend == false) {
|
||||
// Clear the menu...
|
||||
while (ShortcutsSpec* item
|
||||
= ((ShortcutsSpec*)fColumnListView->RemoveItem(0L))) {
|
||||
= ((ShortcutsSpec*)
|
||||
fColumnListView->RemoveItem((int32)0))) {
|
||||
delete item;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1255,7 +1255,7 @@ bool ColumnListView::RemoveItems(int32 fullListIndex, int32 count)
|
|||
CLVListItem* TheItem;
|
||||
if(fHierarchical)
|
||||
{
|
||||
uint32 LastSuperItemLevel = ULONG_MAX;
|
||||
uint32 LastSuperItemLevel = UINT32_MAX;
|
||||
int32 Counter;
|
||||
int32 DisplayItemsToRemove = 0;
|
||||
int32 FirstDisplayItemToRemove = -1;
|
||||
|
|
Loading…
Reference in New Issue