diff options
author | wpaul <wpaul@FreeBSD.org> | 2005-02-18 04:33:34 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2005-02-18 04:33:34 +0000 |
commit | 359989e277b8fa03b11c3fa2952aac7ecb25a12b (patch) | |
tree | 56dd63ffed998387f5050bacea22d33b25a0d580 /sys/compat/ndis/subr_pe.c | |
parent | cb91ac4b685812929d128ddacccc78e85749d893 (diff) | |
download | FreeBSD-src-359989e277b8fa03b11c3fa2952aac7ecb25a12b.zip FreeBSD-src-359989e277b8fa03b11c3fa2952aac7ecb25a12b.tar.gz |
Fix a couple of u_int_foos that should have been uint_foos.
Diffstat (limited to 'sys/compat/ndis/subr_pe.c')
-rw-r--r-- | sys/compat/ndis/subr_pe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/ndis/subr_pe.c b/sys/compat/ndis/subr_pe.c index 6ac815d..5a8d897f 100644 --- a/sys/compat/ndis/subr_pe.c +++ b/sys/compat/ndis/subr_pe.c @@ -295,9 +295,9 @@ pe_translate_addr(imgbase, rva) fixedlen += ((opt_hdr.ioh_sectalign - 1) - sect_hdr->ish_misc.ish_vsize) & (opt_hdr.ioh_sectalign - 1); - if (sect_hdr->ish_vaddr <= (u_int32_t)rva && + if (sect_hdr->ish_vaddr <= (uint32_t)rva && (sect_hdr->ish_vaddr + fixedlen) > - (u_int32_t)rva) + (uint32_t)rva) break; sect_hdr++; } |