From 599c277480ee1d3d5a1a2ffb486e855b845c0dbe Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 18 Jul 2011 18:21:30 +0200 Subject: Compiles (with warnings) --- src/render_hkl.c | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) (limited to 'src/render_hkl.c') diff --git a/src/render_hkl.c b/src/render_hkl.c index 58784e2f..823b6f1a 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -85,7 +85,7 @@ static void show_help(const char *s) static void draw_circles(signed int xh, signed int xk, signed int xl, signed int yh, signed int yk, signed int yl, signed int zh, signed int zk, signed int zl, - RefList *list, const char *sym, + RefList *list, const SymOpList *sym, cairo_t *dctx, int wght, double boost, int colscale, UnitCell *cell, double radius, double theta, double as, double bs, double cx, double cy, @@ -110,15 +110,19 @@ static void draw_circles(signed int xh, signed int xk, signed int xl, double u, v, val, res; signed int ha, ka, la; int xi, yi; - int i; + int i, n; + SymOpList *sp; get_indices(refl, &ha, &ka, &la); - for ( i=0; i