summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-05 01:07:59 -0300
committershennetsind <ind@henn.et>2013-07-05 01:07:59 -0300
commita3711050a219e887b6637969bac66fb7d261d9cf (patch)
treef56eea60a1904dae8e43e0ff31ae72c7c8decc00 /src/map/instance.c
parent88da261c4cf6f984252adb46a1b780a9aeeb8ccc (diff)
downloadhercules-a3711050a219e887b6637969bac66fb7d261d9cf.tar.gz
hercules-a3711050a219e887b6637969bac66fb7d261d9cf.tar.bz2
hercules-a3711050a219e887b6637969bac66fb7d261d9cf.tar.xz
hercules-a3711050a219e887b6637969bac66fb7d261d9cf.zip
Minor compliance adjustments
Data provided by clang Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/instance.c')
-rw-r--r--src/map/instance.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/instance.c b/src/map/instance.c
index 9207c1d53..3f4b29a89 100644
--- a/src/map/instance.c
+++ b/src/map/instance.c
@@ -118,15 +118,15 @@ int instance_create(int owner_id, const char *name, enum instance_owner_type typ
if( j == *icptr ) {
switch( type ) {
case IOT_CHAR:
- RECREATE(sd->instance, unsigned short, ++*icptr);
+ RECREATE(sd->instance, short, ++*icptr);
sd->instance[sd->instances-1] = i;
break;
case IOT_PARTY:
- RECREATE(p->instance, unsigned short, ++*icptr);
+ RECREATE(p->instance, short, ++*icptr);
p->instance[p->instances-1] = i;
break;
case IOT_GUILD:
- RECREATE(g->instance, unsigned short, ++*icptr);
+ RECREATE(g->instance, short, ++*icptr);
g->instance[g->instances-1] = i;
break;
}