[Scummvm-cvs-logs] CVS: scummvm stdafx.h,1.17,1.18 actor.cpp,1.84,1.85
Max Horn
fingolfin at users.sourceforge.net
Mon Jul 8 06:34:04 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv17717
Modified Files:
stdafx.h actor.cpp
Log Message:
two more small QNX fixes
Index: stdafx.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/stdafx.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- stdafx.h 2 Jun 2002 20:28:09 -0000 1.17
+++ stdafx.h 8 Jul 2002 13:33:10 -0000 1.18
@@ -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
* :) ).
@@ -118,6 +121,9 @@
#endif
#if !defined (__BEOS__)
#include <unistd.h>
+#endif
+#if defined(__QNXNTO__)
+#include <strings.h> /* For strcasecmp */
#endif
#include <stdio.h>
#include <fcntl.h>
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- actor.cpp 8 Jul 2002 01:04:29 -0000 1.84
+++ actor.cpp 8 Jul 2002 13:33:10 -0000 1.85
@@ -147,7 +147,7 @@
YXFactor = 0;
}
- if ((uint) abs(XYFactor >> 16) > speedx) {
+ if ((uint) abs((double)(XYFactor >> 16)) > speedx) {
XYFactor = speedx << 16;
if (diffX < 0)
XYFactor = -XYFactor;
More information about the Scummvm-git-logs
mailing list