|
From: Elias N. <eli...@us...> - 2005-01-13 12:14:24
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15161/src/native/common Modified Files: common_tools.h Log Message: remove const from offsetToPointer in common_tools.h since PBO functions take non-const pointers Index: common_tools.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/common_tools.h,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- common_tools.h 11 Jan 2005 15:22:09 -0000 1.33 +++ common_tools.h 13 Jan 2005 12:14:10 -0000 1.34 @@ -92,8 +92,8 @@ return NULL; } -static inline const void *offsetToPointer(jint offset) { - return (const char *)NULL + offset; +static inline void *offsetToPointer(jint offset) { + return (char *)NULL + offset; } typedef void *(* ExtGetProcAddressPROC) (const char *func_name); |