summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-21 18:57:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-21 18:57:48 +0300
commit35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch)
tree2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/being.h
parentcfe4c893ba4ba30379919636d3c508ebf1594e23 (diff)
downloadmv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz
mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2
mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz
mv-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip
some other fixes from cpplint.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index 1d1e01c5e..b71e17738 100644
--- a/src/being.h
+++ b/src/being.h
@@ -377,8 +377,8 @@ class Being : public ActorSprite, public ConfigListener
/**
* Get number of guilds the being belongs to.
*/
- short getNumberOfGuilds() const A_WARN_UNUSED
- { return static_cast<short>(mGuilds.size()); }
+ int16_t getNumberOfGuilds() const A_WARN_UNUSED
+ { return static_cast<int16_t>(mGuilds.size()); }
bool isInParty() const A_WARN_UNUSED
{ return mParty; }