Fix crash

This commit is contained in:
Flakebi 2015-12-04 21:19:15 +01:00
parent c5277edc54
commit f63c4af8be
No known key found for this signature in database
GPG Key ID: 38E7ED984D7DCD02

View File

@ -194,7 +194,7 @@ void CachedCharacteristic::process(CharacteristicType type, Value value,
*value.ia = *static_cast<InterpolationArray*>(v);
break;
case TYPE_BOOL:
*value.f = *static_cast<bool*>(v);
*value.b = *static_cast<bool*>(v);
break;
}
*is_set = true;