Fixed sign, GCC 4 happy.

This commit is contained in:
n-a-c-h
2005-07-19 20:10:43 +00:00
parent a2c9cd7bb0
commit 5ce108e3dc
3 changed files with 4 additions and 4 deletions

View File

@@ -379,7 +379,7 @@ void ST010DoCommand(void)
SRAM[0xDB]=0;
//Grab the target angle
ST010_OP01(dy,dx,&a1,&b1,&c1,&o1);
ST010_OP01(dy,dx,&a1,&b1,&c1,(int16 *)&o1);
//Check for wrapping
if (abs(o1-rot)>0x8000)