diff options
author | Stijn Buys <ingar@osirion.org> | 2012-03-19 21:03:47 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-03-19 21:03:47 +0000 |
commit | c4cd091c43ade80033f41c1ceda5c9f51979dcbc (patch) | |
tree | 91b7b73cda8847c571d7aeaa7c38cfb48ce0a860 /src/client/gamewindow.cc | |
parent | 3c66f020bbe244e85da8cd92208b69cdba83ab97 (diff) |
Resolved a ModelView related segfault when opening the buy menu and a potental segfault in the inventory window.
Diffstat (limited to 'src/client/gamewindow.cc')
-rw-r--r-- | src/client/gamewindow.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |