[glib: 2/3] Fix old_mem_chunk_new() does not match original declaration warning in tests/slice-test.c




commit 3887de12a95329b9b4d5e5d042f21b0936fa08dd
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Fri Dec 17 15:35:54 2021 +0100

    Fix old_mem_chunk_new() does not match original declaration warning in tests/slice-test.c
    
    tests/slice-test.c:30:17: warning: type of ‘old_mem_chunk_new’ does not match original declaration

 tests/slice-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/slice-test.c b/tests/slice-test.c
index 4b1b5f710..b2cd77f01 100644
--- a/tests/slice-test.c
+++ b/tests/slice-test.c
@@ -28,7 +28,7 @@ static gboolean want_corruption = FALSE;
 
 /* --- old memchunk prototypes (memchunks.c) --- */
 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]