Allow larger shared memory sizes. Fixes #226

This commit is contained in:
Kyle Johnson 2013-10-30 08:39:24 -04:00
parent 36f525efae
commit 2c04690865
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ protected:
#else // ZM_MEM_MAPPED
int shm_id;
#endif // ZM_MEM_MAPPED
int mem_size;
long mem_size;
unsigned char *mem_ptr;
volatile SharedData *shared_data;
@ -263,7 +263,7 @@ protected:
#else // ZM_MEM_MAPPED
int shm_id;
#endif // ZM_MEM_MAPPED
int mem_size;
long mem_size;
unsigned char *mem_ptr;
SharedData *shared_data;