diff options
author | jake <jake@FreeBSD.org> | 2002-04-09 00:05:46 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-04-09 00:05:46 +0000 |
commit | 297661679e78b9f173ced795dedbaf89ae6612d6 (patch) | |
tree | e47a50f7e2a0efb593eada5244d262f2b3e31bd3 /sys/boot/common/load_elf.c | |
parent | 61a05419fa991c6e97a9ec0e4a91862dab312587 (diff) | |
download | FreeBSD-src-297661679e78b9f173ced795dedbaf89ae6612d6.zip FreeBSD-src-297661679e78b9f173ced795dedbaf89ae6612d6.tar.gz |
Fix another unsigned long used to index the symbol table which should be
Elf_Hashelt.
Diffstat (limited to 'sys/boot/common/load_elf.c')
-rw-r--r-- | sys/boot/common/load_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/load_elf.c b/sys/boot/common/load_elf.c index 95a437c..81095bc 100644 --- a/sys/boot/common/load_elf.c +++ b/sys/boot/common/load_elf.c @@ -622,7 +622,7 @@ int elf_lookup_symbol(struct preloaded_file *fp, elf_file_t ef, const char* name, Elf_Sym *symp) { - unsigned long symnum; + Elf_Hashelt symnum; Elf_Sym sym; char *strp; unsigned long hash; |