X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FASM.c;h=24d4c2f65d8c64d02a3e81be762ee76edea5b7b8;hb=91c0172a97f1323e573684a456de436332c8ea34;hp=6f0484ae766b062dc7ca09a6c25be4bb939a220e;hpb=8d3d7d213a9691455a49544624bf380e85f43461;p=rocksndiamonds.git diff --git a/src/game_sp/ASM.c b/src/game_sp/ASM.c index 6f0484ae..24d4c2f6 100644 --- a/src/game_sp/ASM.c +++ b/src/game_sp/ASM.c @@ -69,7 +69,11 @@ int HighByte(int Var) int SgnHighByte(int Var) // extends the signum to 16 bit { +#if 1 + short SgnHighByte; +#else int SgnHighByte; +#endif if (Var & 0x8000) {