diff ppe/chara_state34.cc @ 67:21ac9f57a6d4

Mac OS X 64bit
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 21 May 2011 16:27:41 +0900
parents 6989f8cb0259
children
line wrap: on
line diff
--- a/ppe/chara_state34.cc	Tue Jan 18 02:20:10 2011 +0900
+++ b/ppe/chara_state34.cc	Sat May 21 16:27:41 2011 +0900
@@ -6,8 +6,8 @@
 static int
 state34(SchedTask *smanager, void *rbuf, void *wbuf)
 {
-    int enemystate_12 = (int)smanager->get_param(4);
-    int enemystate_21 = (int)smanager->get_param(5);
+    long enemystate_12 = (long)smanager->get_param(4);
+    long enemystate_21 = (long)smanager->get_param(5);
 
     int length;
     CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0);