summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 01:34:49 +0300
commit68a7dd225969fcdfb9c07b99db43756a2b1dec7c (patch)
tree644c14f9b178a968a53e742fb5f37aaf29fc062d /src/gui/windows/inventorywindow.cpp
parentd3f3ec92d583fcaecccb500c8940f33d7228ff89 (diff)
downloadplus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.gz
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.bz2
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.xz
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.zip
Change attributes value type to int64.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 7a3716291..f973f250f 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -1007,8 +1007,8 @@ void InventoryWindow::unsetInventory()
}
void InventoryWindow::attributeChanged(const AttributesT id,
- const int oldVal A_UNUSED,
- const int newVal A_UNUSED)
+ const int64_t oldVal A_UNUSED,
+ const int64_t newVal A_UNUSED)
{
if (id == Attributes::TOTAL_WEIGHT
|| id == Attributes::MAX_WEIGHT