From: Christian P. <cp...@us...> - 2005-04-25 10:55:42
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16052/src/System Modified Files: SharedMemory.sysv.cpp Log Message: - Fixed compile-error with -Werror Index: SharedMemory.sysv.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedMemory.sysv.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- SharedMemory.sysv.cpp 22 Dec 2004 17:54:36 -0000 1.1.1.1 +++ SharedMemory.sysv.cpp 25 Apr 2005 10:55:04 -0000 1.2 @@ -83,7 +83,7 @@ flags |= SHM_RDONLY; void* mapaddr = shmat(_handle->shmid, addr, flags); - if((int)mapaddr == -1) + if((long)mapaddr == -1) throw SystemError(errno, "Could not map SYSV shared-memory segment", P_SOURCEINFO); |