diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 7 | ||||
-rw-r--r-- | glib/garray.h | 2 |
8 files changed, 50 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8123f3e52..59c7c4462 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 8123f3e52..59c7c4462 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 8123f3e52..59c7c4462 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8123f3e52..59c7c4462 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8123f3e52..59c7c4462 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8123f3e52..59c7c4462 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> + + * glib/garray.h: Add parenthesis to protect macro + argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from + HEAD. (#86826) + + 2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmessages.h (g_assert, g_assert_not_reached, diff --git a/glib/garray.h b/glib/garray.h index 56b3937fe..80421830e 100644 --- a/glib/garray.h +++ b/glib/garray.h @@ -99,7 +99,7 @@ void g_array_sort_with_data (GArray *array, * cleared spot and shortens the array. remove_fast will again distort * order. */ -#define g_ptr_array_index(array,index) (array->pdata)[index] +#define g_ptr_array_index(array,index) ((array)->pdata)[index] GPtrArray* g_ptr_array_new (void); GPtrArray* g_ptr_array_sized_new (guint reserved_size); gpointer* g_ptr_array_free (GPtrArray *array, |