mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Fix signedness warning in glib/gslice.c
glib/gslice.c: In function 'slice_config_init': glib/gslice.c:394:16: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' else if (len >= G_N_ELEMENTS (wvalue)) ^~
This commit is contained in:
parent
574842a12e
commit
cd04e0b7a4
@ -380,7 +380,7 @@ slice_config_init (SliceConfig *config)
|
||||
{
|
||||
|
||||
wchar_t wvalue[128]; /* at least big enough for `always-malloc,debug-blocks` */
|
||||
int len;
|
||||
gsize len;
|
||||
|
||||
len = GetEnvironmentVariableW (L"G_SLICE", wvalue, G_N_ELEMENTS (wvalue));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user