dmscript: Sign-compare warning fix.

This commit is contained in:
Andrew Talbot 2008-07-30 22:35:56 +01:00 committed by Alexandre Julliard
parent 7b24ee7d1b
commit 4a5787442b
1 changed files with 2 additions and 1 deletions

View File

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