diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-21 18:57:48 +0300 |
commit | 35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch) | |
tree | 2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/being.h | |
parent | cfe4c893ba4ba30379919636d3c508ebf1594e23 (diff) | |
download | mv-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.h | 4 |
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; } |