Reactos

[WINESYNC] dbghelp: Fix GCC warnings in macho_module.c.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 9896f1ce33561771989d3117c1536fb472df8558 by Jacek Caban <jacek@codeweavers.com>

authored by

winesync and committed by
Jérôme Gardou
833e54f8 27e66011

+5 -4
+1 -1
dll/win32/dbghelp/image_private.h
··· 132 132 struct image_file_map* dsym; /* the debug symbols file associated with this one */ 133 133 size_t header_size; /* size of real header in file */ 134 134 size_t commands_size; 135 - size_t commands_count; 135 + unsigned int commands_count; 136 136 137 137 const struct macho_load_command* load_commands; 138 138 const struct macho_uuid_command* uuid;
+3 -2
dll/win32/dbghelp/macho_module.c
··· 566 566 567 567 if ((lc = macho_map_load_commands(fmap)) == IMAGE_NO_MAP) return -1; 568 568 569 - TRACE("%lu total commands\n", fmap->commands_count); 569 + TRACE("%u total commands\n", fmap->commands_count); 570 570 571 571 for (i = 0; i < fmap->commands_count; i++, lc = macho_next_load_command(lc)) 572 572 { ··· 1639 1639 } 1640 1640 if (!image_infos.infos64.infoArray) 1641 1641 goto done; 1642 - TRACE("Process has %u image infos at %p\n", image_infos.infos64.infoArrayCount, (void*)image_infos.infos64.infoArray); 1642 + TRACE("Process has %u image infos at %s\n", image_infos.infos64.infoArrayCount, wine_dbgstr_longlong(image_infos.infos64.infoArray)); 1643 1643 1644 1644 if (pcs->is_64bit) 1645 1645 len = sizeof(info_array->info64); ··· 1751 1751 1752 1752 TRACE("(%p, %p, %p)\n", process->handle, cb, user); 1753 1753 macho_info.flags = MACHO_INFO_NAME; 1754 + macho_info.module_name = NULL; 1754 1755 ret = macho_enum_modules_internal(process, macho_info.module_name, cb, user); 1755 1756 HeapFree(GetProcessHeap(), 0, (char*)macho_info.module_name); 1756 1757 return ret;
+1 -1
sdk/tools/winesync/dbghelp.cfg
··· 4 4 include/dbghelp.h: sdk/include/psdk/dbghelp.h 5 5 include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h 6 6 tags: 7 - wine: 26f5bfdd4d071a91a38b25c0064ed5ea48993249 7 + wine: 9896f1ce33561771989d3117c1536fb472df8558