--- trunk/reactos/ntoskrnl/kdbg/kdb_string.c 2005-11-29 22:03:55 UTC (rev 19756)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_string.c 2005-11-29 22:07:10 UTC (rev 19757)
@@ -118,7 +118,7 @@
else if (neg)
acc = -acc;
if (endptr != 0)
- *endptr = any ? (char *)s - 1 : (char *)nptr;
+ *endptr = any ? (char *)((size_t)(s - 1)) : (char *)((size_t)nptr);
return acc;
}
--- trunk/reactos/ntoskrnl/ke/i386/fpu.c 2005-11-29 22:03:55 UTC (rev 19756)
+++ trunk/reactos/ntoskrnl/ke/i386/fpu.c 2005-11-29 22:07:10 UTC (rev 19757)
@@ -110,7 +110,7 @@
STATIC VOID
-KiFnsaveToFxsaveFormat(PFXSAVE_FORMAT FxSave, CONST PFNSAVE_FORMAT FnSave)
+KiFnsaveToFxsaveFormat(PFXSAVE_FORMAT FxSave, PFNSAVE_FORMAT FnSave)
{
INT i;
@@ -138,7 +138,7 @@
}
STATIC VOID
-KiFxsaveToFnsaveFormat(PFNSAVE_FORMAT FnSave, CONST PFXSAVE_FORMAT FxSave)
+KiFxsaveToFnsaveFormat(PFNSAVE_FORMAT FnSave, PFXSAVE_FORMAT FxSave)
{
INT i;
@@ -158,7 +158,7 @@
STATIC VOID
-KiFloatingSaveAreaToFxSaveArea(PFX_SAVE_AREA FxSaveArea, CONST FLOATING_SAVE_AREA *FloatingSaveArea)
+KiFloatingSaveAreaToFxSaveArea(PFX_SAVE_AREA FxSaveArea, FLOATING_SAVE_AREA *FloatingSaveArea)
{
if (FxsrSupport)
{