Correctly define LONG_PTR, ULONG_PTR and SIZE_T in "typedefs_host.h".

This should silence many warnings and might fix the Live-CD build problems of our 64-bit Buildslave.

svn path=/trunk/; revision=28844
This commit is contained in:
Colin Finck 2007-09-04 14:12:27 +00:00
parent 53fd100f02
commit a1493f0b00
2 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,6 @@
typedef void VOID, *PVOID, *HANDLE;
typedef HANDLE HKEY, *PHKEY;
typedef long unsigned int SIZE_T, *PSIZE_T;
typedef unsigned char UCHAR, *PUCHAR, BYTE, *LPBYTE;
typedef char CHAR, *PCHAR, *PSTR;
typedef const char CCHAR;
@ -65,8 +64,9 @@ typedef long long LONGLONG;
typedef unsigned long long ULONGLONG;
typedef UCHAR BOOLEAN, *PBOOLEAN;
typedef int BOOL;
typedef int W64 LONG_PTR, *PLONG_PTR;
typedef unsigned int W64 ULONG_PTR, *PULONG_PTR;
typedef long int W64 LONG_PTR, *PLONG_PTR;
typedef long unsigned int W64 ULONG_PTR, *PULONG_PTR;
typedef ULONG_PTR SIZE_T, *PSIZE_T;
typedef wchar_t WCHAR, *PWCHAR, *PWSTR, *LPWSTR;
typedef const wchar_t *PCWSTR, *LPCWSTR;
typedef int NTSTATUS;

View file

@ -181,7 +181,7 @@ do_reg_operation(
{
CHAR EmptyStr = (CHAR)0;
ULONG Type;
SIZE_T Size;
ULONG Size;
LONG Error;
if (Flags & FLG_ADDREG_DELVAL) /* deletion */