dmband: Sign-compare warning fix.

This commit is contained in:
Andrew Talbot 2008-07-29 21:57:48 +01:00 committed by Alexandre Julliard
parent 8525f6950f
commit 164e732ba1

View file

@ -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)) {