dswave: Sign-compare warning fix.
This commit is contained in:
parent
5ca83ae502
commit
6b540d4513
|
@ -477,7 +477,8 @@ const char *debugstr_dmreturn (DWORD code) {
|
||||||
/* generic flag-dumping function */
|
/* generic flag-dumping function */
|
||||||
const char* debugstr_flags (DWORD flags, const flag_info* names, size_t num_names){
|
const char* debugstr_flags (DWORD flags, const flag_info* names, size_t num_names){
|
||||||
char buffer[128] = "", *ptr = &buffer[0];
|
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++)
|
for (i=0; i < num_names; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue