Re: wined3d: Sign-compare warnings fix
29 Nov
2008
29 Nov
'08
11:51 p.m.
On Sat, Nov 29, 2008 at 11:42 AM, Andrew Talbot <andrew.talbot(a)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
6221
Age (days ago)
6223
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andrew Talbot -
Austin English