diff options
-rw-r--r-- | desktop/inc/lib/init.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 5c987bec57ab..b8878076b7f5 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -62,7 +62,7 @@ namespace desktop { static void callback(const int type, const char* payload, void* data) { - CallbackFlushHandler* self = reinterpret_cast<CallbackFlushHandler*>(data); + CallbackFlushHandler* self = static_cast<CallbackFlushHandler*>(data); if (self) { self->queue(type, payload); |