summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-13 22:26:37 +0000
committerobrien <obrien@FreeBSD.org>2004-01-13 22:26:37 +0000
commitd08c777ce90acba517b164eb541a56cbe07b140f (patch)
tree61c29f3c8ca431a81361d5e98eac8fc7bb3b6925
parente98a661aa09b45a691acd09734c17ba8bcfedf05 (diff)
downloadFreeBSD-src-d08c777ce90acba517b164eb541a56cbe07b140f.zip
FreeBSD-src-d08c777ce90acba517b164eb541a56cbe07b140f.tar.gz
Use 'vm_offset_t' rather than 'u_int32_t'.
Tested on: AMD64 Reviewed by: wpaul
-rw-r--r--sys/compat/ndis/subr_pe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/ndis/subr_pe.c b/sys/compat/ndis/subr_pe.c
index 0d6dc44..e947496 100644
--- a/sys/compat/ndis/subr_pe.c
+++ b/sys/compat/ndis/subr_pe.c
@@ -62,7 +62,7 @@ __FBSDID("$FreeBSD$");
#include <compat/ndis/pe_var.h>
-static u_int32_t pe_functbl_match(image_patch_table *, char *);
+static vm_offset_t pe_functbl_match(image_patch_table *, char *);
/*
* Check for an MS-DOS executable header. All Windows binaries
@@ -561,7 +561,7 @@ pe_functbl_match(functbl, name)
while (p->ipt_name != NULL) {
if (!strcmp(p->ipt_name, name))
- return((uint32_t)p->ipt_func);
+ return((vm_offset_t)p->ipt_func);
p++;
}
printf ("no match for %s\n", name);
OpenPOWER on IntegriCloud