From a9e56b9e25716c45a14374298707f8a21e5797b5 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 8 Nov 2022 18:02:01 +0100 Subject: [PATCH] fix logging --- framework/filesystem/src/mm/services/filesystem.cpp | 2 +- framework/sdl_service/src/mm/services/sdl_service.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/filesystem/src/mm/services/filesystem.cpp b/framework/filesystem/src/mm/services/filesystem.cpp index ef7c9ea..17e3c94 100644 --- a/framework/filesystem/src/mm/services/filesystem.cpp +++ b/framework/filesystem/src/mm/services/filesystem.cpp @@ -198,7 +198,7 @@ FilesystemService::fs_file_t FilesystemService::open(const char* filepath, Files phys_file = PHYSFS_openAppend(filepath); break; default: - LOG_ERROR("invalid fopen mode {} for '{}'", t, filepath); + LOG_ERROR("invalid fopen mode {} for '{}'", static_cast(t), filepath); return nullptr; } diff --git a/framework/sdl_service/src/mm/services/sdl_service.cpp b/framework/sdl_service/src/mm/services/sdl_service.cpp index c74ad93..103a80a 100644 --- a/framework/sdl_service/src/mm/services/sdl_service.cpp +++ b/framework/sdl_service/src/mm/services/sdl_service.cpp @@ -152,7 +152,7 @@ bool SDLService::createGLContext(SDL_Window* win_ptr) { TracyGpuContext; - LOG_INFO("gl: {}", glGetString(GL_VERSION)); + LOG_INFO("gl: {}", reinterpret_cast(glGetString(GL_VERSION))); return true; }