From e3c9221e8c32b86d0d297ed5fba0ec79c62378a7 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 2 Jan 2001 20:52:05 +0000 Subject: Use parentheses around an argument to make these cause an error if you * garray.h (g_array_append_val, g_array_prepend_val, g_array_insert_val): Use parentheses around an argument to make these cause an error if you pass a non-lvalue for the value, rather than silently doing the wrong thing. --- ChangeLog.pre-2-6 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog.pre-2-6') diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 582d21d1e..0fb944438 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2001-01-02 Dan Winship + + * garray.h (g_array_append_val, g_array_prepend_val, + g_array_insert_val): Use parentheses around an argument to make + these cause an error if you pass a non-lvalue for the value, + rather than silently doing the wrong thing. + 2000-12-29 Tor Lillqvist * glibconfig.h.win32.in: Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. -- cgit v1.2.1