Fix misc compiler warnings in (mostly) test programs

This commit is contained in:
Dan Winship
2010-08-19 18:24:53 -04:00
parent 22b3f0d4b2
commit 8f5ec0dad3
8 changed files with 22 additions and 10 deletions

View File

@@ -899,7 +899,7 @@ read_string (GMemoryInputStream *mis,
G_IO_ERROR,
G_IO_ERROR_INVALID_ARGUMENT,
_("Wanted to read %lu bytes but got EOF"),
to_read);
(gulong)to_read);
goto fail;
}