bootstrap
[reactos.git] / ntoskrnl / rtl / unicode.c
index 705e7cc..e4797e1 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <ddk/ntddk.h>
 //#include <internal/nls.h>
-#include <ctype.h>
+#include <msvcrt/ctype.h>      /* <ctype.h> does not need to define isw*() */
 #include <ntos/minmax.h>
 #include <internal/pool.h>
 
@@ -735,7 +735,7 @@ RtlIntegerToChar(IN ULONG Value,
                tp++;
        }
 
-       if (tp - temp >= Length)
+       if ((ULONG)(tp - temp) >= Length)
                return STATUS_BUFFER_TOO_SMALL;
 
        sp = String;