Commit 05a92bc0 authored by Claes Sjofors's avatar Claes Sjofors

wbl, conversion of Int64 and UInt64 attributes added

parent c36de4d5
...@@ -2119,6 +2119,12 @@ int wb_wblnode::attrStringToValue( int type_id, char *value_str, ...@@ -2119,6 +2119,12 @@ int wb_wblnode::attrStringToValue( int type_id, char *value_str,
return 0; return 0;
break; break;
} }
case pwr_eType_Int64:
{
if ( sscanf( value_str, pwr_dFormatInt64, ( pwr_tInt64 *)buffer_ptr) != 1)
return 0;
break;
}
case pwr_eType_UInt8: case pwr_eType_UInt8:
{ {
pwr_tUInt8 i8; pwr_tUInt8 i8;
...@@ -2144,6 +2150,12 @@ int wb_wblnode::attrStringToValue( int type_id, char *value_str, ...@@ -2144,6 +2150,12 @@ int wb_wblnode::attrStringToValue( int type_id, char *value_str,
return 0; return 0;
break; break;
} }
case pwr_eType_UInt64:
{
if ( sscanf( value_str, pwr_dFormatUInt64, (pwr_tUInt64 *)buffer_ptr) != 1)
return 0;
break;
}
case pwr_eType_Text: case pwr_eType_Text:
case pwr_eType_String: case pwr_eType_String:
case pwr_eType_ProString: case pwr_eType_ProString:
......
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