dmstyle: Sign-compare warning fix.

This commit is contained in:
Andrew Talbot 2008-07-31 22:26:18 +01:00 committed by Alexandre Julliard
parent e273bf1f43
commit 61aac4a0fd
1 changed files with 3 additions and 2 deletions

View File

@ -628,7 +628,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){
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)) {