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 | |
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.
-rw-r--r-- | sys/compat/ndis/pe_var.h | 2 | ||||
-rw-r--r-- | sys/compat/ndis/subr_ndis.c | 2 | ||||
-rw-r--r-- | sys/compat/ndis/subr_pe.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/ndis/pe_var.h b/sys/compat/ndis/pe_var.h index 47055a8..cfce36a 100644 --- a/sys/compat/ndis/pe_var.h +++ b/sys/compat/ndis/pe_var.h @@ -287,7 +287,7 @@ typedef struct image_section_header image_section_header; struct image_import_by_name { uint16_t iibn_hint; - u_int8_t iibn_name[1]; + uint8_t iibn_name[1]; }; #define IMAGE_ORDINAL_FLAG 0x80000000 diff --git a/sys/compat/ndis/subr_ndis.c b/sys/compat/ndis/subr_ndis.c index da56c18..9d42901 100644 --- a/sys/compat/ndis/subr_ndis.c +++ b/sys/compat/ndis/subr_ndis.c @@ -264,7 +264,7 @@ __stdcall static void NdisOpenFile(ndis_status *, ndis_handle *, uint32_t *, __stdcall static void NdisMapFile(ndis_status *, void **, ndis_handle); __stdcall static void NdisUnmapFile(ndis_handle); __stdcall static void NdisCloseFile(ndis_handle); -__stdcall static u_int8_t NdisSystemProcessorCount(void); +__stdcall static uint8_t NdisSystemProcessorCount(void); __stdcall static void NdisMIndicateStatusComplete(ndis_handle); __stdcall static void NdisMIndicateStatus(ndis_handle, ndis_status, void *, uint32_t); 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++; } |