summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-03 17:57:12 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-03 17:57:12 +0000
commitfaad8ffb9f66a831986e40f3fc711205e46880ef (patch)
tree936b17a80cefdc82acea43927f79508c0bf138e0 /src/map
parent7adb4c8eab8ba0c4c71eb112bac9cb3df2284c3c (diff)
downloadhercules-faad8ffb9f66a831986e40f3fc711205e46880ef.tar.gz
hercules-faad8ffb9f66a831986e40f3fc711205e46880ef.tar.bz2
hercules-faad8ffb9f66a831986e40f3fc711205e46880ef.tar.xz
hercules-faad8ffb9f66a831986e40f3fc711205e46880ef.zip
Fixed gcc compilation warnings in r14120.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14121 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 7a3e2ee95..135b200b0 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8134,10 +8134,10 @@ static int buildin_announce_sub(struct block_list *bl, va_list ap)
int len = va_arg(ap, int);
int type = va_arg(ap, int);
char *fontColor = va_arg(ap, char *);
- short fontType = va_arg(ap, short);
- short fontSize = va_arg(ap, short);
- short fontAlign = va_arg(ap, short);
- short fontY = va_arg(ap, short);
+ short fontType = (short)va_arg(ap, int);
+ short fontSize = (short)va_arg(ap, int);
+ short fontAlign = (short)va_arg(ap, int);
+ short fontY = (short)va_arg(ap, int);
if (fontColor)
clif_broadcast2(bl, mes, len, strtol(fontColor, (char **)NULL, 0), fontType, fontSize, fontAlign, fontY, SELF);
else