mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fix some warnings
svn path=/trunk/; revision=24361
This commit is contained in:
@@ -31,7 +31,7 @@ CmpAllocate(
|
||||
IN SIZE_T Size,
|
||||
IN BOOLEAN Paged)
|
||||
{
|
||||
return (PVOID) malloc(Size);
|
||||
return (PVOID) malloc((size_t)Size);
|
||||
}
|
||||
|
||||
static VOID
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#define __MKHIVE_H__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* We have to do this because psdk/windef.h will _always_ define _WIN32... */
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
* PURPOSE: Runtime Library
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define RTL_H
|
||||
|
||||
#define NTOS_MODE_USER
|
||||
@@ -11,7 +13,7 @@
|
||||
#include <ntddk.h>
|
||||
#include <bitmap.c>
|
||||
|
||||
SIZE_T xwcslen( PWSTR String ) {
|
||||
SIZE_T xwcslen( PCWSTR String ) {
|
||||
SIZE_T i;
|
||||
|
||||
for( i = 0; String[i]; i++ );
|
||||
|
||||
Reference in New Issue
Block a user