diff options
author | deraadt <deraadt@openbsd.org> | 2012-04-06 18:06:40 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2012-04-06 18:06:40 +0000 |
commit | c23bb8125ace83f7dce3339aa0a4c5fc17891970 (patch) | |
tree | 7f0f7ce2f7060473bda455b08c89a419d263c15e /usr.sbin/kvm_mkdb/nlist.c | |
parent | BIOCGBLEN is using a u_int, not an int (diff) | |
download | wireguard-openbsd-c23bb8125ace83f7dce3339aa0a4c5fc17891970.tar.xz wireguard-openbsd-c23bb8125ace83f7dce3339aa0a4c5fc17891970.zip |
iterate over e_shnum using Elf32_Word instead of int
Diffstat (limited to 'usr.sbin/kvm_mkdb/nlist.c')
-rw-r--r-- | usr.sbin/kvm_mkdb/nlist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c index db9759f7498..0cdfe94b26c 100644 --- a/usr.sbin/kvm_mkdb/nlist.c +++ b/usr.sbin/kvm_mkdb/nlist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nlist.c,v 1.39 2009/11/11 16:44:59 deraadt Exp $ */ +/* $OpenBSD: nlist.c,v 1.40 2012/04/06 18:06:40 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -297,7 +297,8 @@ __elf_knlist(int fd, DB *db, int ksyms) off_t symstroff, symoff; u_long symsize, symstrsize; u_long kernvma, kernoffs; - int i, j, error = 0; + int i, error = 0; + Elf32_Word j; Elf_Sym sbuf; char buf[1024]; Elf_Ehdr eh; |