summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/debug.cpp')
-rw-r--r--src/ui/dialog/debug.cpp2
1 files changed, 1 insertions, 1 deletions
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<DebugDialogImpl *>(user_data);
dlg->message(messageText);
}