From 9d67a983a82b25aecfc8d027b2e6e26b51bcdfdf Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Wed, 30 Jul 2008 22:35:48 +0100 Subject: [PATCH] dmcompos: Sign-compare warning fix. --- dlls/dmcompos/dmcompos_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/dmcompos/dmcompos_main.c b/dlls/dmcompos/dmcompos_main.c index 36244debfe3..a70c292a638 100644 --- a/dlls/dmcompos/dmcompos_main.c +++ b/dlls/dmcompos/dmcompos_main.c @@ -693,7 +693,8 @@ const char *debugstr_dmreturn (DWORD code) { /* generic flag-dumping function */ const char* debugstr_flags (DWORD flags, const flag_info* names, size_t num_names){ 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++) { -- 2.11.4.GIT