summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
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.h
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.h')
-rw-r--r--lib/command_graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 35a0eee273..925133c203 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -29,7 +29,7 @@ struct graph_node
char* text; // for WORD_GN and VARIABLE_GN
long value; // for NUMBER_GN
- signed long long min, max;// for RANGE_GN
+ int min, max; // for RANGE_GN
/* cmd_element struct pointer, only valid for END_GN */
struct cmd_element *element;