wined3d: fix a compiler warning

Austin English austinenglish at gmail.com
Tue Jun 23 20:43:29 CDT 2009


On Tue, Jun 23, 2009 at 3:58 AM, Michael Stefaniuc<mstefani at redhat.de> wrote:
> Hello Austin,
>
> are you reinventing strcpy?

We do this elsewhere throughout the source. It prevents possible
crashes/security vulnerabilities, as well as this warning:
arb_program_shader.c: In function ‘shader_arb_get_register_name’:
arb_program_shader.c:931: warning: format not a string literal and no
format arguments
arb_program_shader.c:935: warning: format not a string literal and no
format arguments

-- 
-Austin



More information about the wine-devel mailing list