Frédéric Delanoy : winemac.drv: Constify a character string.
Module: wine Branch: master Commit: f2e1589b3491ac9dad4fd12d367424bbdaebb77d URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2e1589b3491ac9dad4fd12d36... Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Wed Dec 18 23:14:14 2013 +0100 winemac.drv: Constify a character string. --- dlls/winemac.drv/opengl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/winemac.drv/opengl.c b/dlls/winemac.drv/opengl.c index 4766bd4..ad520fa 100644 --- a/dlls/winemac.drv/opengl.c +++ b/dlls/winemac.drv/opengl.c @@ -1192,7 +1192,7 @@ static const pixel_format *get_pixel_format(int format, BOOL allow_nondisplayabl static BOOL init_gl_info(void) { - static char legacy_extensions[] = " WGL_EXT_extensions_string"; + static const char legacy_extensions[] = " WGL_EXT_extensions_string"; static const char legacy_ext_swap_control[] = " WGL_EXT_swap_control"; CGDirectDisplayID display = CGMainDisplayID();
participants (1)
-
Alexandre Julliard