[glib/wip/chergert/fix-modification-date-time: 1/5] garray: Fix reference to GLIB_SIZEOF_INT
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/chergert/fix-modification-date-time: 1/5] garray: Fix reference to GLIB_SIZEOF_INT
- Date: Thu, 5 Sep 2019 16:11:53 +0000 (UTC)
commit 8034e89c04985c1582adc9a40ba0402dbfa5698a
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]