summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-04 16:18:31 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-04 16:18:31 +0000
commit5a8bbed0b1e9b22526fd23946593f47487709497 (patch)
treed5ae90ecc60f95fc814d96e6326bab2a25cd6dd5 /lib/command_graph.c
parentf4b0c72e5313927b3a2ddaf02d148992914474a3 (diff)
lib: Add support for negative ranges
And convert range delimiters to signed int Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.c')
-rw-r--r--lib/command_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c
index 05570d5c73..d420b1c063 100644
--- a/lib/command_graph.c
+++ b/lib/command_graph.c
@@ -185,7 +185,7 @@ dump_node (struct graph_node *node)
fprintf(stderr, "\t->value: %ld\n", node->value);
fprintf(stderr, "\t->is_start: %d\n", node->is_start);
fprintf(stderr, "\t->element: %p\n", node->element);
- fprintf(stderr, "\t->min: %lld\n->max: %lld\n", node->min, node->max);
+ fprintf(stderr, "\t->min: %d\n->max: %d\n", node->min, node->max);
fprintf(stderr, "\t->arg: %s\n", node->arg);
fprintf(stderr, "\t->refs: %d\n", node->refs);
fprintf(stderr, "\tnum children: %d\n", vector_active(node->children));