Update of /cvsroot/simspark/simspark/spark/zeitgeist/fileserver
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv17536
Modified Files:
Tag: WIN32
fileserver.h
Log Message:
- applied a compile fix for 64bit architectures. imageserver.cpp did
not compile due to casts between OpenIL types and the FileServer
handles (e.g. ILHANDLE and FileServer::THandle). In 64bit systems
pointers are 64 bits long, however ints are still 32 bits. A long int
does have the required 64 bits on a 64 bit
Credits to Sander van Dijk for this fix.
Index: fileserver.h
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/zeitgeist/fileserver/fileserver.h,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** fileserver.h 5 Dec 2005 21:05:01 -0000 1.1
--- fileserver.h 26 Feb 2007 08:47:05 -0000 1.1.2.1
***************
*** 85,89 ****
//
public:
! typedef int THandle;
protected:
--- 85,89 ----
//
public:
! typedef long THandle;
protected:
|