[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: wined3d: Sign-compare warnings fix
From:       "Austin English" <austinenglish () gmail ! com>
Date:       2008-11-29 23:51:10
Message-ID: b6bb06270811291551j3d4d8070n49ed5500057f982a () mail ! gmail ! com
[Download RAW message or body]

On Sat, Nov 29, 2008 at 11:42 AM, Andrew Talbot
<andrew.talbot@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic