mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-23 11:31:41 +00:00
Fix build warning
This commit is contained in:
parent
1b2a46dff4
commit
2def12c703
@ -179,7 +179,7 @@ static void getshm(int size) {
|
||||
/* attach to the shared memory segment */
|
||||
image->data = xshminfo.shmaddr = shmat(id, 0, 0);
|
||||
|
||||
if ((int)(image->data) == -1)
|
||||
if ((size_t)(image->data) == -1)
|
||||
{
|
||||
perror("shmat");
|
||||
printf("Could not attach to shared memory\n");
|
||||
|
Loading…
Reference in New Issue
Block a user