Fix build error in MacOS with clang (#946)

This commit is contained in:
Sajjad Pourali 2018-11-19 11:15:04 +03:30 committed by xarkes
parent 711dd086d1
commit 5dd15f821c

View File

@ -111,7 +111,7 @@ QList<QString> CutterCore::sdbListKeys(QString path)
SdbList *l = sdb_foreach_list(root, false); SdbList *l = sdb_foreach_list(root, false);
ls_foreach(l, iter, vsi) { ls_foreach(l, iter, vsi) {
SdbKv *nsi = (SdbKv *)vsi; SdbKv *nsi = (SdbKv *)vsi;
list << nsi->base.key; list << reinterpret_cast<char *>(nsi->base.key);
} }
} }
return list; return list;