diff --git a/source/helpers/plugin_manager.cpp b/source/helpers/plugin_manager.cpp index adb627e19..eec8c4596 100644 --- a/source/helpers/plugin_manager.cpp +++ b/source/helpers/plugin_manager.cpp @@ -54,7 +54,7 @@ namespace hex { if (this->m_getPluginNameFunction != nullptr) return this->m_getPluginNameFunction(); else - return hex::format("Unknown Plugin @ 0x{0:016X}", this->m_handle); + return hex::format("Unknown Plugin @ 0x{0:016X}", reinterpret_cast(this->m_handle)); } std::string Plugin::getPluginAuthor() const { diff --git a/source/init/tasks.cpp b/source/init/tasks.cpp index 0fc2f3125..7a28d4592 100644 --- a/source/init/tasks.cpp +++ b/source/init/tasks.cpp @@ -152,15 +152,15 @@ namespace hex::init { { "Creating directories...", createDirectories }, { "Loading default views...", loadDefaultViews }, { "Loading plugins...", loadPlugins }, - { "Loading settings...", loadSettings } + { "Loading settings...", loadSettings }, }; } std::vector getExitTasks() { return { - { "Unloading plugins...", unloadPlugins }, + { "Cleaning up views...", deleteViews }, { "Saving settings...", storeSettings }, - { "Cleaning up views...", deleteViews } + { "Unloading plugins...", unloadPlugins }, }; }