summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-13 23:05:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-13 23:05:59 +0300
commitf42895110758580885e52c6dffbb9e090c9ee101 (patch)
tree96d8646327b7bfea42888c49d44591f1aa94af93 /src/const
parent9f8da99f6b6266a7456d3be4d38880a3bd761932 (diff)
downloadmanaplus-f42895110758580885e52c6dffbb9e090c9ee101.tar.gz
manaplus-f42895110758580885e52c6dffbb9e090c9ee101.tar.bz2
manaplus-f42895110758580885e52c6dffbb9e090c9ee101.tar.xz
manaplus-f42895110758580885e52c6dffbb9e090c9ee101.zip
Fix old cast style.
Diffstat (limited to 'src/const')
-rw-r--r--src/const/resources/item/cards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/const/resources/item/cards.h b/src/const/resources/item/cards.h
index 93ca08c90..31804cb2e 100644
--- a/src/const/resources/item/cards.h
+++ b/src/const/resources/item/cards.h
@@ -26,6 +26,6 @@
#define CARD0_FORGE 0x00FF
#define CARD0_CREATE 0x00FE
-#define CARD0_PET ((short)0xFF00)
+#define CARD0_PET static_cast<uint16_t>(0xFF00)
#endif // CONST_RESOURCES_ITEM_CARDS_H