summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 925133c203..e1feb9f77f 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -23,13 +23,13 @@ enum graph_node_type
struct graph_node
{
enum graph_node_type type;// data type this node matches or holds
- int is_start; // whether this node is a start node
+ unsigned int is_start; // whether this node is a start node
vector children; // this node's children
struct graph_node * end; // pointer to end for SELECTOR_GN & OPTION_GN
char* text; // for WORD_GN and VARIABLE_GN
- long value; // for NUMBER_GN
- int min, max; // for RANGE_GN
+ long long value; // for NUMBER_GN
+ long long min, max; // for RANGE_GN
/* cmd_element struct pointer, only valid for END_GN */
struct cmd_element *element;
@@ -37,7 +37,7 @@ struct graph_node
char *arg;
/* refcount for node parents */
- int refs;
+ unsigned int refs;
};
/*