Andrew Talbot : dmsynth: Sign-compare warning fix.
Alexandre Julliard
julliard at winehq.org
Thu Jul 31 07:18:12 CDT 2008
Module: wine
Branch: master
Commit: 634b688f5c11c643cba0abdf24ef6c020173de06
URL: http://source.winehq.org/git/wine.git/?a=commit;h=634b688f5c11c643cba0abdf24ef6c020173de06
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Jul 30 22:35:59 2008 +0100
dmsynth: Sign-compare warning fix.
---
dlls/dmsynth/dmsynth_main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/dmsynth/dmsynth_main.c b/dlls/dmsynth/dmsynth_main.c
index 372bee5..0a52544 100644
--- a/dlls/dmsynth/dmsynth_main.c
+++ b/dlls/dmsynth/dmsynth_main.c
@@ -525,7 +525,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