Andrew Talbot : dmband: Sign-compare warning fix.
Alexandre Julliard
julliard at winehq.org
Wed Jul 30 08:35:57 CDT 2008
Module: wine
Branch: master
Commit: 164e732ba19dce0aaf4ff9b5502fb6e0dcb9a31f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=164e732ba19dce0aaf4ff9b5502fb6e0dcb9a31f
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Jul 29 21:57:48 2008 +0100
dmband: Sign-compare warning fix.
---
dlls/dmband/dmutils.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/dmband/dmutils.c b/dlls/dmband/dmutils.c
index bfec1f1..19cba2b 100644
--- a/dlls/dmband/dmutils.c
+++ b/dlls/dmband/dmutils.c
@@ -63,7 +63,8 @@ BOOL IS_VALID_DMFORM (FOURCC chunkID) {
/* 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-cvs
mailing list