Commit 9831f4dc authored by Ronan's avatar Ronan
Browse files

fix(EventsDb): add static_cast instead of c cast

parent 4ec5f857
......@@ -255,7 +255,7 @@ EventsDb::EventsDb () : AbstractDb(*new EventsDbPrivate) {}
isNull = false;
try {
return message.get<T>((size_t)index);
return message.get<T>(static_cast<size_t>(index));
} catch (const exception &) {
isNull = true;
}
......
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