projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FREELDR] Fix 64 bit issues
[reactos.git]
/
boot
/
freeldr
/
freeldr
/
arch
/
i386
/
machpc.c
diff --git
a/boot/freeldr/freeldr/arch/i386/machpc.c
b/boot/freeldr/freeldr/arch/i386/machpc.c
index
64b6a43
..
527b944
100644
(file)
--- a/
boot/freeldr/freeldr/arch/i386/machpc.c
+++ b/
boot/freeldr/freeldr/arch/i386/machpc.c
@@
-643,7
+643,7
@@
DetectSerialPorts(PCONFIGURATION_COMPONENT_DATA BusKey)
for (i = 0; i < MAX_COM_PORTS; i++, BasePtr++)
{
Base = (ULONG) * BasePtr;
- if (
Base == 0 || !CpDoesPortExist((PUCHAR)Base
))
+ if (
(Base == 0) || !CpDoesPortExist(UlongToPtr(Base)
))
continue;
TRACE("Found COM%u port at 0x%x\n", i + 1, Base);