mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-11 14:30:08 +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 */
|
/* attach to the shared memory segment */
|
||||||
image->data = xshminfo.shmaddr = shmat(id, 0, 0);
|
image->data = xshminfo.shmaddr = shmat(id, 0, 0);
|
||||||
|
|
||||||
if ((int)(image->data) == -1)
|
if ((size_t)(image->data) == -1)
|
||||||
{
|
{
|
||||||
perror("shmat");
|
perror("shmat");
|
||||||
printf("Could not attach to shared memory\n");
|
printf("Could not attach to shared memory\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user