fix cast issue

This commit is contained in:
Benjamin Reis 2017-10-09 15:17:52 +02:00
parent 69d52b3e7e
commit 7fcc7847f0

View file

@ -238,7 +238,7 @@ EventsDb::EventsDb () : AbstractDb(*new EventsDbPrivate) {}
isNull = false;
try {
return message.get<T>(index);
return message.get<T>((size_t)index);
} catch (const exception &) {
isNull = true;
}