diff options
Diffstat (limited to 'src/menu.cc')
-rw-r--r-- | src/menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.cc b/src/menu.cc index 54babc0b..a95ed0ec 100644 --- a/src/menu.cc +++ b/src/menu.cc @@ -615,7 +615,7 @@ void a_Menu_history_popup(BrowserWindow *bw, int direction) for (i = 0; history_list[i] != -1; i += 1) { // TODO: restrict title size it = new CustItem(a_History_get_title(history_list[i], 1)); - it->callback(Menu_history_cb, (void*)(i+1)); + it->callback(Menu_history_cb, INT2VOIDP(i+1)); } pm->type(PopupMenu::POPUP123); pm->end(); |