diff options
author | 2010-01-15 10:29:17 +0000 | |
---|---|---|
committer | 2010-01-15 10:29:17 +0000 | |
commit | c6a2607a57c63fe0059c5495909527d8a727d659 (patch) | |
tree | f7f8a25750de3e0fb91d7876b9ddd9a71019779d /paxelf.h | |
parent | use --skip-validation to work with newer xmlto packages (diff) | |
download | pax-utils-c6a2607a57c63fe0059c5495909527d8a727d659.tar.gz pax-utils-c6a2607a57c63fe0059c5495909527d8a727d659.tar.bz2 pax-utils-c6a2607a57c63fe0059c5495909527d8a727d659.zip |
convert core pointers to void* to avoid ugly casts and gcc alignment warnings #290543
Diffstat (limited to 'paxelf.h')
-rw-r--r-- | paxelf.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.h,v 1.52 2009/12/01 10:14:30 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.h,v 1.53 2010/01/15 10:29:17 vapier Exp $ * * Copyright 2005-2007 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org> @@ -16,7 +16,8 @@ typedef struct { void *ehdr; void *phdr; void *shdr; - char *data, *data_end; + union { void *vdata; char *data; }; + void *data_end; char elf_class; off_t len; int fd; |