[PATCH 1/8] winedump: Correctly declare the array of segments.

Dmitry Timoshkov dmitry at baikal.ru
Mon Jul 9 22:41:13 CDT 2018


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 tools/winedump/tlb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/winedump/tlb.c b/tools/winedump/tlb.c
index df1ea4b576..5c710360e6 100644
--- a/tools/winedump/tlb.c
+++ b/tools/winedump/tlb.c
@@ -109,7 +109,7 @@ typedef struct seg_t {
     int offset;
     int length;
 } seg_t;
-static seg_t segdir[];
+static seg_t segdir[15];
 
 enum SEGDIRTYPE {
     SEGDIR_TYPEINFO,
-- 
2.17.1




More information about the wine-devel mailing list