Commit d7dad505 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

msvcrt: Use correct integral types in structs.

parent fe1aebb6
...@@ -266,7 +266,7 @@ typedef enum { ...@@ -266,7 +266,7 @@ typedef enum {
typedef struct _iosarray { typedef struct _iosarray {
struct _iosarray *next; struct _iosarray *next;
int index; int index;
int long_val; LONG long_val;
void *ptr_val; void *ptr_val;
} IOS_BASE_iosarray; } IOS_BASE_iosarray;
......
...@@ -954,7 +954,7 @@ int __cdecl __uncaught_exceptions(void) ...@@ -954,7 +954,7 @@ int __cdecl __uncaught_exceptions(void)
typedef struct typedef struct
{ {
EXCEPTION_RECORD *rec; EXCEPTION_RECORD *rec;
int *ref; /* not binary compatible with native */ LONG *ref; /* not binary compatible with native */
} exception_ptr; } exception_ptr;
/********************************************************************* /*********************************************************************
......
...@@ -379,7 +379,7 @@ typedef enum { ...@@ -379,7 +379,7 @@ typedef enum {
typedef struct _iosarray { typedef struct _iosarray {
struct _iosarray *next; struct _iosarray *next;
int index; int index;
int long_val; LONG long_val;
void *ptr_val; void *ptr_val;
} IOS_BASE_iosarray; } IOS_BASE_iosarray;
......
...@@ -169,7 +169,7 @@ typedef struct cs_queue ...@@ -169,7 +169,7 @@ typedef struct cs_queue
{ {
struct cs_queue *next; struct cs_queue *next;
#if _MSVCR_VER >= 110 #if _MSVCR_VER >= 110
BOOL free; LONG free;
int unknown; int unknown;
#endif #endif
} cs_queue; } cs_queue;
...@@ -249,7 +249,7 @@ typedef struct thread_wait_entry ...@@ -249,7 +249,7 @@ typedef struct thread_wait_entry
typedef struct thread_wait typedef struct thread_wait
{ {
void *signaled; void *signaled;
int pending_waits; LONG pending_waits;
thread_wait_entry entries[1]; thread_wait_entry entries[1];
} thread_wait; } thread_wait;
...@@ -263,7 +263,7 @@ typedef struct ...@@ -263,7 +263,7 @@ typedef struct
#if _MSVCR_VER >= 110 #if _MSVCR_VER >= 110
typedef struct cv_queue { typedef struct cv_queue {
struct cv_queue *next; struct cv_queue *next;
BOOL expired; LONG expired;
} cv_queue; } cv_queue;
typedef struct { typedef struct {
......
...@@ -1134,7 +1134,7 @@ const char * __thiscall type_info_name_internal_method(type_info * _this, struct ...@@ -1134,7 +1134,7 @@ const char * __thiscall type_info_name_internal_method(type_info * _this, struct
typedef struct typedef struct
{ {
EXCEPTION_RECORD *rec; EXCEPTION_RECORD *rec;
int *ref; /* not binary compatible with native msvcr100 */ LONG *ref; /* not binary compatible with native msvcr100 */
} exception_ptr; } exception_ptr;
#if _MSVCR_VER >= 100 #if _MSVCR_VER >= 100
......
...@@ -66,7 +66,7 @@ typedef struct __lc_time_data { ...@@ -66,7 +66,7 @@ typedef struct __lc_time_data {
LCID lcid; LCID lcid;
#endif #endif
int unk; int unk;
int refcount; LONG refcount;
#if _MSVCR_VER == 0 || _MSVCR_VER >= 100 #if _MSVCR_VER == 0 || _MSVCR_VER >= 100
union { union {
const wchar_t *wstr[43]; const wchar_t *wstr[43];
...@@ -90,7 +90,7 @@ typedef struct __lc_time_data { ...@@ -90,7 +90,7 @@ typedef struct __lc_time_data {
} __lc_time_data; } __lc_time_data;
typedef struct threadmbcinfostruct { typedef struct threadmbcinfostruct {
int refcount; LONG refcount;
int mbcodepage; int mbcodepage;
int ismbcodepage; int ismbcodepage;
int mblcid; int mblcid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment