Commit b0e17492 authored by Alan Coopersmith's avatar Alan Coopersmith

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's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 1edaf538
......@@ -39,8 +39,8 @@ struct flist
{
int size;
int xhot, yhot;
char *pngfile;
int delay;
char *pngfile;
struct flist *next;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment