summaryrefslogtreecommitdiff
path: root/src/bin/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/common')
-rw-r--r--src/bin/common/shmfile.c2
-rw-r--r--src/bin/common/shmfile.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/common/shmfile.c b/src/bin/common/shmfile.c
index 725c67b..7a51edd 100644
--- a/src/bin/common/shmfile.c
+++ b/src/bin/common/shmfile.c
@@ -25,7 +25,7 @@ void *shm_addr = NULL;
char *shmfile = NULL;
void
-shm_alloc(int dsize)
+shm_alloc(unsigned long dsize)
{
#ifdef HAVE_SHM_OPEN
if (!shmfile) shmfile = malloc(1024);
diff --git a/src/bin/common/shmfile.h b/src/bin/common/shmfile.h
index b41c9cb..f70a8fd 100644
--- a/src/bin/common/shmfile.h
+++ b/src/bin/common/shmfile.h
@@ -10,7 +10,7 @@ extern int shm_size;
extern void *shm_addr;
extern char *shmfile;
-void shm_alloc (int dsize);
+void shm_alloc (unsigned long dsize);
void shm_free (void);
#ifdef __cplusplus