mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warnings in gio/win32/gwinhttpvfs.c
gio/win32/gwinhttpvfs.c: In function 'g_winhttp_vfs_get_file_for_uri': gio/win32/gwinhttpvfs.c:172:17: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' for (i = 0; i < G_N_ELEMENTS (winhttp_uri_schemes); i++) ^ gio/win32/gwinhttpvfs.c: In function 'g_winhttp_vfs_get_supported_uri_schemes': gio/win32/gwinhttpvfs.c:210:17: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' for (i = 0; i < G_N_ELEMENTS (winhttp_uri_schemes); i++) ^
This commit is contained in:
parent
2f2e021a56
commit
059dc76ae1
@ -165,7 +165,7 @@ g_winhttp_vfs_get_file_for_uri (GVfs *vfs,
|
||||
const char *uri)
|
||||
{
|
||||
GWinHttpVfs *winhttp_vfs = G_WINHTTP_VFS (vfs);
|
||||
int i;
|
||||
gsize i;
|
||||
GFile *ret = NULL;
|
||||
|
||||
/* If it matches one of "our" schemes, handle it */
|
||||
@ -192,7 +192,7 @@ g_winhttp_vfs_get_supported_uri_schemes (GVfs *vfs)
|
||||
{
|
||||
GWinHttpVfs *winhttp_vfs = G_WINHTTP_VFS (vfs);
|
||||
const gchar * const *wrapped_vfs_uri_schemes = g_vfs_get_supported_uri_schemes (winhttp_vfs->wrapped_vfs);
|
||||
int i, n;
|
||||
gsize i, n;
|
||||
const gchar **retval;
|
||||
|
||||
n = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user