Fix type of loop variable in alloc_device().

Vitaliy Margolen wine-devel at kievinfo.com
Fri Nov 2 07:56:47 CDT 2007


Gerald Pfeifer wrote:
> We iterate between 0 and and the value of an usigned variable, so we
> should adjust the loop variable accordingly (not the list to silence
> GCC).

> -    int i;
> +    unsigned i;

If there is nothing wrong about it, then why do you change it? If even gcc 
does not complain about it.

Vitaliy.



More information about the wine-devel mailing list