From ecdf0e86820141d60dcf8448688fc48024e8f750 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Wed, 30 Jul 2008 22:35:51 +0100 Subject: [PATCH] dmime: Sign-compare warning fix. --- dlls/dmime/dmutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/dmime/dmutils.c b/dlls/dmime/dmutils.c index 1a822ba1019..87668cb6f5b 100644 --- a/dlls/dmime/dmutils.c +++ b/dlls/dmime/dmutils.c @@ -617,7 +617,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)) {