desktop/qa/desktop_lib/test_desktop_lib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e21611090147943e78c6d7a3a7080a9a97c54bf0 Author: Tor Lillqvist <t...@collabora.com> Date: Mon May 9 07:35:19 2016 +0300 loplugin:redundantcast reinterpret_cast from 'void *' to 'std::vector<std::tuple<int, std::string> > *' can be simplified to static_cast. Change-Id: I1899a1c570c4c56d8c7fe73745eac45061fb8bae diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 86ca392..6beb0e7 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -1267,7 +1267,7 @@ void DesktopLOKTest::testContextMenuImpress() static void callbackCompressionTest(const int type, const char* payload, void* data) { - std::vector<std::tuple<int, std::string>>* notifs = reinterpret_cast<std::vector<std::tuple<int, std::string>>*>(data); + std::vector<std::tuple<int, std::string>>* notifs = static_cast<std::vector<std::tuple<int, std::string>>*>(data); notifs->emplace_back(type, std::string(payload ? payload : "(nil)")); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits