summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 11:44:00 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 11:44:00 -0800
commitb0e174921ac5216fb4e21015a9b4bb9999b4b87b (patch)
treea9c765523ab19e07e588cb07093b9a593debaf73
parent1edaf53856983391b05d3a488acc0b6cc257a401 (diff)
Change order of struct flist members to pack better on 64-bit archs
As reported by clang: xcursorgen.c:42:9: warning: padding struct 'struct flist' with 4 bytes to align 'pngfile' [-Wpadded] char *pngfile; ^ xcursorgen.c:44:17: warning: padding struct 'struct flist' with 4 bytes to align 'next' [-Wpadded] struct flist *next; Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xcursorgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcursorgen.c b/xcursorgen.c
index fd41a77..1738b3c 100644
--- a/xcursorgen.c
+++ b/xcursorgen.c
@@ -39,8 +39,8 @@ struct flist
{
int size;
int xhot, yhot;
- char *pngfile;
int delay;
+ char *pngfile;
struct flist *next;
};