summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-10-20 19:39:36 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-10-20 19:39:36 -0700
commita124a9c32f3a1a19aaed93a5ec512521eab1a9f7 (patch)
tree5254a56b3b138b96f5d69c9fcae61c9bfa423705 /src/map
parent831243dacc0138c1f5348c9eeed290112ea84dd9 (diff)
downloadtmwa-a124a9c32f3a1a19aaed93a5ec512521eab1a9f7.tar.gz
tmwa-a124a9c32f3a1a19aaed93a5ec512521eab1a9f7.tar.bz2
tmwa-a124a9c32f3a1a19aaed93a5ec512521eab1a9f7.tar.xz
tmwa-a124a9c32f3a1a19aaed93a5ec512521eab1a9f7.zip
Fix scripts with literal integers containing the high bit.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
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)
{