diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2014-12-22 20:32:23 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2014-12-22 20:32:23 +0000 |
| commit | 5eccfb5cf5403e9e564066e0a75d80534b49e91d (patch) | |
| tree | 78347950207dea134308b7c9d4843204e80507e0 /libelf/libelf_align.c | |
| parent | 5265ace0e440a23fb522c516f4ee20f43eaed2b3 (diff) | |
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 9550c5bd49ea..817fd1588565 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) |
