From a124a9c32f3a1a19aaed93a5ec512521eab1a9f7 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 20 Oct 2011 19:39:36 -0700 Subject: Fix scripts with literal integers containing the high bit. --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 533c436..06b3682 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -896,7 +896,7 @@ static void add_scriptc (int a) * スクリプトバッファに整数を書き込む *------------------------------------------ */ -static void add_scripti (int a) +static void add_scripti (unsigned int a) { while (a >= 0x40) { -- cgit v1.2.3-70-g09d2