mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
Fix signedness warning in tests/memchunks.c
tests/memchunks.c: In function ‘old_mem_chunk_new’: tests/memchunks.c:140:35: error: comparison of integer expressions of different signedness: ‘gulong’ {aka ‘long unsigned int’} and ‘gint’ {aka ‘int’} 140 | g_return_val_if_fail (area_size >= atom_size, NULL); | ^~
This commit is contained in:
parent
53157f32b9
commit
00a15152f3
@ -49,7 +49,7 @@ static guint mem_chunk_recursion = 0;
|
||||
|
||||
/* --- old memchunk prototypes --- */
|
||||
GMemChunk* old_mem_chunk_new (const gchar *name,
|
||||
gint atom_size,
|
||||
gulong atom_size,
|
||||
gulong area_size,
|
||||
gint type);
|
||||
void old_mem_chunk_destroy (GMemChunk *mem_chunk);
|
||||
@ -129,7 +129,7 @@ static GMemChunk *mem_chunks = NULL;
|
||||
|
||||
GMemChunk*
|
||||
old_mem_chunk_new (const gchar *name,
|
||||
gint atom_size,
|
||||
gulong atom_size,
|
||||
gulong area_size,
|
||||
gint type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user