#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>
tp++;
}
- if (tp - temp >= Length)
+ if ((ULONG)(tp - temp) >= Length)
return STATUS_BUFFER_TOO_SMALL;
sp = String;