mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01:00
Fix signedness warning in glib/gspawn-win32.c
glib/gspawn-win32.c: In function 'read_helper_report': glib/gspawn-win32.c:329:16: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long long unsigned int' while (bytes < sizeof(gintptr)*2) ^ glib/gspawn-win32.c:366:13: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long long unsigned int' if (bytes < sizeof(gintptr)*2) ^
This commit is contained in:
parent
cd04e0b7a4
commit
a8a4bbf652
@ -324,7 +324,7 @@ read_helper_report (int fd,
|
|||||||
gintptr report[2],
|
gintptr report[2],
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gint bytes = 0;
|
gsize bytes = 0;
|
||||||
|
|
||||||
while (bytes < sizeof(gintptr)*2)
|
while (bytes < sizeof(gintptr)*2)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user