CharacterMap: Fix 64-bit build
This commit is contained in:
@@ -544,12 +544,12 @@ void
|
|||||||
CharacterWindow::_UpdateFontMenu(BMenu* menu)
|
CharacterWindow::_UpdateFontMenu(BMenu* menu)
|
||||||
{
|
{
|
||||||
BMenuItem* item;
|
BMenuItem* item;
|
||||||
|
|
||||||
while (menu->CountItems() > 0) {
|
while (menu->CountItems() > 0) {
|
||||||
item = menu->RemoveItem(static_cast<long int>(0));
|
item = menu->RemoveItem(static_cast<int32>(0));
|
||||||
delete(item);
|
delete(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
font_family currentFamily;
|
font_family currentFamily;
|
||||||
font_style currentStyle;
|
font_style currentStyle;
|
||||||
fCharacterView->CharacterFont().GetFamilyAndStyle(¤tFamily,
|
fCharacterView->CharacterFont().GetFamilyAndStyle(¤tFamily,
|
||||||
|
|||||||
Reference in New Issue
Block a user