projects
/
platform
/
upstream
/
gcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2006ff
)
Use union instead of struct. Fixes bug #571951
author
Jeff Cai
<jeff.cai@sun.com>
Thu, 19 Feb 2009 03:41:47 +0000
(
03:41
+0000)
committer
Jeff Cai
<jeffcai@src.gnome.org>
Thu, 19 Feb 2009 03:41:47 +0000
(
03:41
+0000)
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
egg/egg-secure-memory.c
patch
|
blob
|
history
diff --git
a/egg/egg-secure-memory.c
b/egg/egg-secure-memory.c
index
d2d18d7
..
5e67c41
100644
(file)
--- 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 {