Commit eb530fea authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

Fix some compiler warnings etc.

2005-01-24  Kjartan Maraas  <kmaraas@gnome.org>

	* art_render_gradient.c: (art_render_gradient_radial_render):
	* testart.c:
	* testuta.c: (main): Fix some compiler warnings etc.
parent 84ae54cd
2005-01-24 Kjartan Maraas <kmaraas@gnome.org>
* art_render_gradient.c: (art_render_gradient_radial_render):
* testart.c:
* testuta.c: (main): Fix some compiler warnings etc.
2005-01-21 Kjartan Maraas <kmaraas@gnome.org>
* Release 2.3.17
......
......@@ -630,7 +630,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;
......
......@@ -515,6 +515,7 @@ test_gradient (void)
fwrite (buf, 1, 512 * 512 * 3, stdout);
}
#if 0
static void
output_svp_ppm (const ArtSVP *svp)
{
......@@ -524,6 +525,7 @@ output_svp_ppm (const ArtSVP *svp)
printf ("P6\n512 512\n255\n");
fwrite (buf, 1, 512 * 512 * 3, stdout);
}
#endif
static void
test_intersect (void)
......
......@@ -185,7 +185,7 @@ main (int argc, char **argv)
uta = art_uta_from_irect (&bbox);
}
#endif
rbuf = 0;
rbuf = NULL;
#else
uta = art_uta_new_coords (0, 0, 500, 500);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment