From da71443f77f499468d48b3f404eb6c59851eef8a Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Mon, 6 Feb 2012 16:06:17 +0100 Subject: (cppcheck and janitorial tasks:) C-style casting to C++-style casting (bzr r10946) --- src/ui/dialog/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/dialog/debug.cpp') diff --git a/src/ui/dialog/debug.cpp b/src/ui/dialog/debug.cpp index 426cd5d99..8ffbd5c52 100644 --- a/src/ui/dialog/debug.cpp +++ b/src/ui/dialog/debug.cpp @@ -167,7 +167,7 @@ void dialogLoggingFunction(const gchar */*log_domain*/, const gchar *messageText, gpointer user_data) { - DebugDialogImpl *dlg = (DebugDialogImpl *)user_data; + DebugDialogImpl *dlg = static_cast(user_data); dlg->message(messageText); } -- cgit v1.2.3