diff options
author | Dan Winship <danw@src.gnome.org> | 2001-01-02 20:52:05 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-01-02 20:52:05 +0000 |
commit | e3c9221e8c32b86d0d297ed5fba0ec79c62378a7 (patch) | |
tree | 92ca7263540b1d56f5effcbba776db69a1f66cfc /ChangeLog.pre-2-6 | |
parent | cf1c65aed87784f7e107b6e4c8129361f4e9a4e9 (diff) | |
download | glib-e3c9221e8c32b86d0d297ed5fba0ec79c62378a7.tar.gz |
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.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 7 |
1 files changed, 7 insertions, 0 deletions
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 <danw@helixcode.com> + + * 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 <tml@iki.fi> * glibconfig.h.win32.in: Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. |