summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-20 15:59:58 +0100
committerHaru <haru@dotalux.com>2016-02-20 15:59:58 +0100
commit71968e6985a2d6798505b84bc7ed22f5c6bfcfac (patch)
tree4740ae636d410980f379cc4bb3a969b49451c7c7 /src/map/instance.c
parent5b74faa8afd04771af7acb918072ea71a3db475f (diff)
parentb7f772294594c40ef1e18f9c044e5c4fe6b490f4 (diff)
downloadhercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.tar.gz
hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.tar.bz2
hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.tar.xz
hercules-71968e6985a2d6798505b84bc7ed22f5c6bfcfac.zip
Merge pull request #1162 from 4144/flags
Add some compiler warning flags and fix new warnings
Diffstat (limited to 'src/map/instance.c')
-rw-r--r--src/map/instance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/instance.c b/src/map/instance.c
index 5e8256c88..a6700d486 100644
--- a/src/map/instance.c
+++ b/src/map/instance.c
@@ -106,7 +106,7 @@ int instance_create(int owner_id, const char *name, enum instance_owner_type typ
icptr = &g->instances;
break;
default:
- ShowError("instance_create: unknown type %d for owner_id %d and name %s.\n", type,owner_id,name);
+ ShowError("instance_create: unknown type %u for owner_id %d and name %s.\n", type, owner_id, name);
return -1;
}
@@ -591,7 +591,7 @@ void instance_destroy(int instance_id) {
icptr = &g->instances;
break;
default:
- ShowError("instance_destroy: unknown type %d for owner_id %d and name '%s'.\n", instance->list[instance_id].owner_type,instance->list[instance_id].owner_id,instance->list[instance_id].name);
+ ShowError("instance_destroy: unknown type %u for owner_id %d and name '%s'.\n", instance->list[instance_id].owner_type, instance->list[instance_id].owner_id, instance->list[instance_id].name);
break;
}