summaryrefslogtreecommitdiffstats
path: root/extensions/tos_values.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/tos_values.c')
-rw-r--r--extensions/tos_values.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/tos_values.c b/extensions/tos_values.c
index 0ab784da..2d5b4312 100644
--- a/extensions/tos_values.c
+++ b/extensions/tos_values.c
@@ -55,7 +55,7 @@ static bool tos_parse_numeric(const char *str, struct tos_value_mask *tvm,
static bool tos_parse_symbolic(const char *str, struct tos_value_mask *tvm,
unsigned int def_mask)
{
- const unsigned int max = 255;
+ const unsigned int max = UINT8_MAX;
const struct tos_symbol_info *symbol;
char *tmp;