From 4ebab8614551d7734dbd3e3a2f18447791b8fd58 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 28 Jan 2011 04:58:51 -0800 Subject: [PATCH] Fix "discards const qualifier" gcc warning. --- third_party/libart_lgpl/art_render_gradient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/libart_lgpl/art_render_gradient.c b/third_party/libart_lgpl/art_render_gradient.c index d84dad865..1aa4765dd 100644 --- a/third_party/libart_lgpl/art_render_gradient.c +++ b/third_party/libart_lgpl/art_render_gradient.c @@ -214,7 +214,7 @@ art_render_gradient_radial_render (ArtRenderCallback *self, ArtRender *render, double fx = gradient->fx; double fy = gradient->fy; double dx, dy; - double *affine = gradient->affine; + const double *affine = gradient->affine; double aff0 = affine[0]; double aff1 = affine[1]; const double a = z->a;