summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
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