From c4cd091c43ade80033f41c1ceda5c9f51979dcbc Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 19 Mar 2012 21:03:47 +0000 Subject: Resolved a ModelView related segfault when opening the buy menu and a potental segfault in the inventory window. --- src/client/gamewindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/gamewindow.cc') diff --git a/src/client/gamewindow.cc b/src/client/gamewindow.cc index a2693e1..929cfe4 100644 --- a/src/client/gamewindow.cc +++ b/src/client/gamewindow.cc @@ -196,7 +196,7 @@ void GameWindow::show_menu(const std::string & args) if (label.compare("buy") == 0) { // buy menu, single item - unsigned long id; + unsigned int id; if (argstr >> id) { // hide other menus -- cgit v1.2.3