forked from mirrors/linphone-iphone
fix(EventsDb): add static_cast instead of c cast
This commit is contained in:
parent
4ec5f857ed
commit
9831f4dcc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue