Commit 3242a369 authored by claes's avatar claes

Mask and Enum added in value input case statement

parent 1c8f01d5
...@@ -4139,6 +4139,8 @@ int graph_attr_string_to_value( int type_id, char *value_str, ...@@ -4139,6 +4139,8 @@ int graph_attr_string_to_value( int type_id, char *value_str,
break; break;
} }
case pwr_eType_UInt32: case pwr_eType_UInt32:
case pwr_eType_Mask:
case pwr_eType_Enum:
{ {
if ( sscanf( value_str, "%lu", (unsigned long *)buffer_ptr) != 1) if ( sscanf( value_str, "%lu", (unsigned long *)buffer_ptr) != 1)
return GE__INPUT_SYNTAX; return GE__INPUT_SYNTAX;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment