diff options
author | Jeff Cai <jeff.cai@sun.com> | 2009-02-19 03:41:47 +0000 |
---|---|---|
committer | Jeff Cai <jeffcai@src.gnome.org> | 2009-02-19 03:41:47 +0000 |
commit | fac67b5dcf605b599e475b87501e478427b1fc25 (patch) | |
tree | 8d678adafac3225ba8f611ea861b931238fbd528 /egg/egg-secure-memory.c | |
parent | 828b41be8b4abfe6a1c52f64b06f0e58e3904eff (diff) | |
download | gnome-keyring-fac67b5dcf605b599e475b87501e478427b1fc25.tar.gz |
Use union instead of struct. Fixes bug #571951
2009-02-19 Jeff Cai <jeff.cai@sun.com>
* egg/egg-secure-memory.c:
Use union instead of struct.
Fixes bug #571951
svn path=/trunk/; revision=1606
Diffstat (limited to 'egg/egg-secure-memory.c')
-rw-r--r-- | egg/egg-secure-memory.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/egg/egg-secure-memory.c b/egg/egg-secure-memory.c index e880aae0..b9a0dd2d 100644 --- a/egg/egg-secure-memory.c +++ b/egg/egg-secure-memory.c @@ -148,11 +148,9 @@ unused_peek (void **stack) */ /* Pool allocates this data type */ -typedef struct _Item { - union { +typedef union _Item { Cell cell; Block block; - }; } Item; typedef struct _Pool { |