remove const from offsetToPointer in common_tools.h since PBO functions take non-const pointers

This commit is contained in:
Elias Naur 2005-01-13 12:14:10 +00:00
parent 01e6f3c27c
commit 2f536fef59
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ static inline jobject safeNewBuffer(JNIEnv *env, void *p, int size) {
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);