Commit 8a191ff5 authored by Gregg Mattinson's avatar Gregg Mattinson Committed by Alexandre Julliard

Avoid structures or arrays of size 0.

parent 963985b3
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
typedef struct typedef struct
{ {
int empty;
/* empty */ /* empty */
} User_DirectDrawImpl_Part; } User_DirectDrawImpl_Part;
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
struct FakeZBuffer_DirectDrawSurfaceImpl_Part struct FakeZBuffer_DirectDrawSurfaceImpl_Part
{ {
int dummy;
}; };
typedef struct typedef struct
......
...@@ -334,7 +334,7 @@ typedef struct { ...@@ -334,7 +334,7 @@ typedef struct {
DWORD dwPrivateBytes; DWORD dwPrivateBytes;
DWORD dwPageFileBytes; DWORD dwPageFileBytes;
DWORD dwUnknown7[4]; DWORD dwUnknown7[4];
THREADINFO ti[0]; THREADINFO ti[1];
} SYSTEM_PROCESS_INFORMATION; } SYSTEM_PROCESS_INFORMATION;
typedef struct { typedef struct {
......
...@@ -154,7 +154,7 @@ typedef struct OMFSegMap ...@@ -154,7 +154,7 @@ typedef struct OMFSegMap
{ {
unsigned short cSeg; unsigned short cSeg;
unsigned short cSegLog; unsigned short cSegLog;
OMFSegMapDesc rgDesc[0]; /* OMFSegMapDesc rgDesc[0];*/
} OMFSegMap; } OMFSegMap;
...@@ -185,4 +185,3 @@ typedef struct OMFSourceModule ...@@ -185,4 +185,3 @@ typedef struct OMFSourceModule
unsigned short cSeg; unsigned short cSeg;
unsigned long baseSrcFile[1]; unsigned long baseSrcFile[1];
} OMFSourceModule; } OMFSourceModule;
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