mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Fix a couple of u_int_foos that should have been uint_foos.
This commit is contained in:
parent
6e121c5427
commit
e6f328fb03
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142037
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user