From 5dd15f821c7f23c861b4c8e01adf3002f2ab4b76 Mon Sep 17 00:00:00 2001 From: Sajjad Pourali Date: Mon, 19 Nov 2018 11:15:04 +0330 Subject: [PATCH] Fix build error in MacOS with clang (#946) --- src/Cutter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cutter.cpp b/src/Cutter.cpp index 42650a55..e3ef31ad 100644 --- a/src/Cutter.cpp +++ b/src/Cutter.cpp @@ -111,7 +111,7 @@ QList CutterCore::sdbListKeys(QString path) SdbList *l = sdb_foreach_list(root, false); ls_foreach(l, iter, vsi) { SdbKv *nsi = (SdbKv *)vsi; - list << nsi->base.key; + list << reinterpret_cast(nsi->base.key); } } return list;