Author: tkreuzer Date: Wed Sep 12 21:20:48 2012 New Revision: 57287
URL: http://svn.reactos.org/svn/reactos?rev=57287&view=rev Log: [FREELDR] Fix an x64 compilation warning Patch by Hermes Belusca CORE-6641
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hwdisk.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hwdisk.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/hwdisk.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hwdisk.c [iso-8859-1] Wed Sep 12 21:20:48 2012 @@ -150,7 +150,7 @@ TotalSectors -= ReadSectors; }
- *Count = Ptr - (UCHAR *)Buffer; + *Count = (ULONG)(Ptr - (UCHAR*)Buffer);
return (!ret) ? EIO : ESUCCESS; }