Fix cast pointer to int warning in gio/tests/socket.c

This commit is contained in:
Loic Le Page 2022-01-19 21:07:05 +01:00 committed by Loïc Le Page
parent 7bd79b112d
commit e372ed3413

View File

@ -1203,7 +1203,7 @@ duplicate_fd (int fd)
return -1;
}
return (int)newfd;
return (int)(gintptr)newfd;
#else
return dup (fd);
#endif