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
/
disk
/
partition.c
diff --git
a/boot/freeldr/freeldr/disk/partition.c
b/boot/freeldr/freeldr/disk/partition.c
index
df2d1a7
..
1feaf51
100644
(file)
--- a/
boot/freeldr/freeldr/disk/partition.c
+++ b/
boot/freeldr/freeldr/disk/partition.c
@@
-253,6
+253,7
@@
BOOLEAN DiskReadBootRecord(UCHAR DriveNumber, ULONGLONG LogicalSectorNumber, PMA
return TRUE;
}
return TRUE;
}
+#ifndef _M_AMD64
NTSTATUS
NTAPI
IopReadBootRecord(
NTSTATUS
NTAPI
IopReadBootRecord(
@@
-261,7
+262,7
@@
IopReadBootRecord(
IN ULONG SectorSize,
OUT PMASTER_BOOT_RECORD BootRecord)
{
IN ULONG SectorSize,
OUT PMASTER_BOOT_RECORD BootRecord)
{
- ULONG
FileId = (ULONG
)DeviceObject;
+ ULONG
_PTR FileId = (ULONG_PTR
)DeviceObject;
LARGE_INTEGER Position;
ULONG BytesRead;
ARC_STATUS Status;
LARGE_INTEGER Position;
ULONG BytesRead;
ARC_STATUS Status;
@@
-399,5
+400,5
@@
IoReadPartitionTable(
*PartitionBuffer = Partitions;
return STATUS_SUCCESS;
}
*PartitionBuffer = Partitions;
return STATUS_SUCCESS;
}
-
+#endif // _M_AMD64
#endif
#endif