summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-17 14:03:06 -0300
committershennetsind <ind@henn.et>2013-05-17 14:03:06 -0300
commit346dd126a746335d8839b8066a90f368edd554be (patch)
treea493e52e765879a1f8d9ee694181b5c6626ba29c /src/map/atcommand.c
parent5cf4b520176e588904a2aee6f84774ad5492780e (diff)
downloadhercules-346dd126a746335d8839b8066a90f368edd554be.tar.gz
hercules-346dd126a746335d8839b8066a90f368edd554be.tar.bz2
hercules-346dd126a746335d8839b8066a90f368edd554be.tar.xz
hercules-346dd126a746335d8839b8066a90f368edd554be.zip
Fixed 2 clang warnings
Special Thanks to mkbu95! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 1f234911e..d831ca200 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7422,7 +7422,7 @@ ACMD(sizeguild)
struct guild *g;
nullpo_retr(-1, sd);
- memset(guild, '\0', sizeof(guild));
+ memset(guild_name, '\0', sizeof(guild_name));
if( !message || !*message || sscanf(message, "%d %23[^\n]", &size, guild_name) < 2 ) {
clif->message(fd, msg_txt(1304)); // Please enter guild name/ID (usage: @sizeguild <size> <guild name/ID>).