Dmitry Timoshkov : winedump: Correctly declare the array of segments.

Alexandre Julliard julliard at winehq.org
Tue Jul 10 15:36:43 CDT 2018


Module: wine
Branch: master
Commit: 3e6b1296c1b599c8a0b494eba1d7c94675b78c27
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3e6b1296c1b599c8a0b494eba1d7c94675b78c27

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Jul 10 11:41:13 2018 +0800

winedump: Correctly declare the array of segments.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 df1ea4b..5c71036 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,




More information about the wine-cvs mailing list