diff options
Diffstat (limited to 'shmem/unix')
-rw-r--r-- | shmem/unix/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c index 0b21449d8..149488d97 100644 --- a/shmem/unix/shm.c +++ b/shmem/unix/shm.c @@ -153,7 +153,7 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m, /* store the real size in the metadata */ *(apr_size_t*)(new_m->base) = new_m->realsize; /* metadata isn't usable */ - new_m->usable = new_m->base + sizeof(apr_size_t); + new_m->usable = (char *)new_m->base + sizeof(apr_size_t); *m = new_m; return APR_SUCCESS; |