diff options
author | Max Horn | 2002-07-08 13:33:10 +0000 |
---|---|---|
committer | Max Horn | 2002-07-08 13:33:10 +0000 |
commit | 204a5394199b4b0a37686d4919a0255f29eb9cdb (patch) | |
tree | 7dce5f1b64243900498e9c26d0afbbe388d4559e | |
parent | 32ea67dfed453f60442bdf3340edcb379ff86932 (diff) | |
download | scummvm-rg350-204a5394199b4b0a37686d4919a0255f29eb9cdb.tar.gz scummvm-rg350-204a5394199b4b0a37686d4919a0255f29eb9cdb.tar.bz2 scummvm-rg350-204a5394199b4b0a37686d4919a0255f29eb9cdb.zip |
two more small QNX fixes
svn-id: r4493
-rw-r--r-- | actor.cpp | 2 | ||||
-rw-r--r-- | stdafx.h | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -147,7 +147,7 @@ int Actor::calcMovementFactor(int newX, int newY) YXFactor = 0; } - if ((uint) abs(XYFactor >> 16) > speedx) { + if ((uint) abs((double)(XYFactor >> 16)) > speedx) { XYFactor = speedx << 16; if (diffX < 0) XYFactor = -XYFactor; @@ -2,6 +2,9 @@ * $Id$ * * $Log$ + * Revision 1.18 2002/07/08 13:33:10 fingolfin + * two more small QNX fixes + * * Revision 1.17 2002/06/02 20:28:09 bbrox * Small warning fix + double inclusion protection (can always be useful * :) ). @@ -119,6 +122,9 @@ #if !defined (__BEOS__) #include <unistd.h> #endif +#if defined(__QNXNTO__) +#include <strings.h> /* For strcasecmp */ +#endif #include <stdio.h> #include <fcntl.h> #include <stdlib.h> |