Andrew Talbot : dmusic: Sign-compare warning fix.

Alexandre Julliard julliard at winehq.org
Thu Jul 31 07:18:12 CDT 2008


Module: wine
Branch: master
Commit: 7e5985311ccef1f4d6b428131f97eb069674b54f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7e5985311ccef1f4d6b428131f97eb069674b54f

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Jul 30 22:36:02 2008 +0100

dmusic: Sign-compare warning fix.

---

 dlls/dmusic/dmusic_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/dmusic/dmusic_main.c b/dlls/dmusic/dmusic_main.c
index c4a231c..89f8eb1 100644
--- a/dlls/dmusic/dmusic_main.c
+++ b/dlls/dmusic/dmusic_main.c
@@ -549,7 +549,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++)
 	{




More information about the wine-cvs mailing list