[glib: 1/2] garray: Fix reference to GLIB_SIZEOF_INT



commit 4f5a2c19e4c236cf54e8c180b61cb7c8f05108f7
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Sep 2 16:05:07 2019 +0200

    garray: Fix reference to GLIB_SIZEOF_INT
    
    This doesn't ever get set. SIZEOF_INT is set though, so use that instead.

 glib/garray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/garray.c b/glib/garray.c
index d2c8cd8a5..38f64b82d 100644
--- a/glib/garray.c
+++ b/glib/garray.c
@@ -883,7 +883,7 @@ g_nearest_pow (guint num)
   n |= n >> 4;
   n |= n >> 8;
   n |= n >> 16;
-#if GLIB_SIZEOF_INT == 8
+#if SIZEOF_INT == 8
   n |= n >> 32;
 #endif
 


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