summaryrefslogtreecommitdiff
path: root/liblogdiag/ld-canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblogdiag/ld-canvas.c')
-rw-r--r--liblogdiag/ld-canvas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liblogdiag/ld-canvas.c b/liblogdiag/ld-canvas.c
index 420232d..de24513 100644
--- a/liblogdiag/ld-canvas.c
+++ b/liblogdiag/ld-canvas.c
@@ -1064,7 +1064,7 @@ check_terminals (LdCanvas *self, gdouble x, gdouble y)
LdDiagramSymbol *diagram_symbol;
LdSymbol *symbol;
const LdPointArray *terminals;
- gint i;
+ guint i;
if (!LD_IS_DIAGRAM_SYMBOL (iter->data))
continue;
@@ -1079,7 +1079,7 @@ check_terminals (LdCanvas *self, gdouble x, gdouble y)
terminals = ld_symbol_get_terminals (symbol);
- for (i = 0; i < terminals->num_points; i++)
+ for (i = 0; i < terminals->length; i++)
{
LdPoint cur_term;
gdouble distance;