diff options
Diffstat (limited to 'libelf/libelf_align.c')
-rw-r--r-- | libelf/libelf_align.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libelf/libelf_align.c b/libelf/libelf_align.c index 9550c5b..817fd15 100644 --- a/libelf/libelf_align.c +++ b/libelf/libelf_align.c @@ -32,11 +32,11 @@ #include "_libelf.h" -ELFTC_VCSID("$Id: libelf_align.c 2225 2011-11-26 18:55:54Z jkoshy $"); +ELFTC_VCSID("$Id: libelf_align.c 3006 2014-03-22 08:10:07Z jkoshy $"); struct align { - int a32; - int a64; + unsigned int a32; + unsigned int a64; }; #ifdef __GNUC__ @@ -87,7 +87,7 @@ static struct align malign[ELF_T_NUM] = { [ELF_T_GNUHASH] = MALIGN_WORD() }; -int +unsigned int _libelf_malign(Elf_Type t, int elfclass) { if (t >= ELF_T_NUM || (int) t < 0) @@ -126,7 +126,7 @@ static struct align falign[ELF_T_NUM] = { [ELF_T_GNUHASH] = FALIGN(4,8) }; -int +unsigned int _libelf_falign(Elf_Type t, int elfclass) { if (t >= ELF_T_NUM || (int) t < 0) |