dmloader: Sign-compare warning fix
Andrew Talbot
andrew.talbot at talbotville.com
Wed Jul 30 16:35:53 CDT 2008
Changelog:
dmloader: Sign-compare warning fix.
diff --git a/dlls/dmloader/debug.c b/dlls/dmloader/debug.c
index dbd8129..db85d76 100644
--- a/dlls/dmloader/debug.c
+++ b/dlls/dmloader/debug.c
@@ -433,7 +433,8 @@ const char *debugstr_dmreturn (DWORD code) {
/* generic flag-dumping function */
static const char* debugstr_flags (DWORD flags, const flag_info* names, size_t num_names){
static char buffer[128] = "", *ptr = &buffer[0];
- unsigned int i, size = sizeof(buffer);
+ unsigned int i;
+ int size = sizeof(buffer);
for (i=0; i < num_names; i++) {
if ((flags & names[i].val)) {
More information about the wine-patches
mailing list