wined3d: Sign-compare warnings fix

Austin English austinenglish at gmail.com
Sat Nov 29 17:51:10 CST 2008


On Sat, Nov 29, 2008 at 11:42 AM, Andrew Talbot
<andrew.talbot at talbotville.com> wrote:
> Changelog:
>    wined3d: Sign-compare warnings fix.
>
> @@ -504,7 +504,7 @@ static void shader_generate_glsl_declarations(IWineD3DBaseShader *iface, const s
>     IWineD3DBaseShaderImpl* This = (IWineD3DBaseShaderImpl*) iface;
>     IWineD3DDeviceImpl *device = (IWineD3DDeviceImpl *) This->baseShader.device;
>     int i;
> -    unsigned int extra_constants_needed = 0;
> +    unsigned int i, extra_constants_needed = 0;
>     const local_constant *lconst;
>
>     /* There are some minor differences between pixel and vertex shaders */
>
>
>

You forgot to remove 'int i' here.

-- 
-Austin



More information about the wine-devel mailing list