[glib/gobject-speedups4] Make n_specs a gsize



commit 0c2621db341b6a39c57595d4ce8b9e92dfedaac5
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 7 08:49:01 2022 -0400

    Make n_specs a gsize
    
    Makes it obvious that we're taking a pointer-size
    slot in the struct.

 gobject/gobject.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/gobject.h b/gobject/gobject.h
index 93502b01d6..04796c00a5 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -372,7 +372,7 @@ struct  _GObjectClass
   gsize         n_construct_properties;
 
   gpointer pspecs;
-  guint n_pspecs;
+  gsize n_pspecs;
 
   /* padding */
   gpointer     pdummy[3];


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