summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_graph.c')
-rw-r--r--lib/command_graph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c
index f00b126536..3e8261cb3e 100644
--- a/lib/command_graph.c
+++ b/lib/command_graph.c
@@ -32,7 +32,7 @@ DEFINE_MTYPE_STATIC(LIB, CMD_TEXT, "Command Token Help")
DEFINE_MTYPE(LIB, CMD_ARG, "Command Argument")
DEFINE_MTYPE_STATIC(LIB, CMD_VAR, "Command Argument Name")
-struct cmd_token *cmd_token_new(enum cmd_token_type type, u_char attr,
+struct cmd_token *cmd_token_new(enum cmd_token_type type, uint8_t attr,
const char *text, const char *desc)
{
struct cmd_token *token =
@@ -198,7 +198,7 @@ static bool cmd_nodes_equal(struct graph_node *ga, struct graph_node *gb)
}
static void cmd_fork_bump_attr(struct graph_node *gn, struct graph_node *join,
- u_char attr)
+ uint8_t attr)
{
size_t i;
struct cmd_token *tok = gn->data;