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:
Emmanuel Fleury 2020-11-20 23:17:07 +01:00
parent 53157f32b9
commit 00a15152f3

View File

@ -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)
{