From: Hans Leidekker <hans@codeweavers.com> --- tools/winedump/pe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index 4c0f0ed0671..630c375ce4b 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c @@ -2910,7 +2910,6 @@ static void print_clr( const char *str ) static void print_clr_strings( const BYTE *data, UINT data_size ) { const char *beg = (const char *)data, *end; - UINT count = 0; if (!data_size) return; clr_indent += 4; @@ -2918,9 +2917,8 @@ static void print_clr_strings( const BYTE *data, UINT data_size ) { if (!(end = memchr( beg, '\0', data_size - (beg - (const char *)data) ))) break; print_clr_indent(); - printf( "%-10u\"%s\"\n", count, beg ); + printf( "%-10lu\"%s\"\n", beg - (const char *)data, beg ); beg = end + 1; - count++; } clr_indent -= 4; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9983