From 99d4bff4a5ec575d22c96720e97fb0a41405c48e Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 23 May 2021 19:23:27 +0100 Subject: [PATCH] Fix windows build Signed-off-by: falkTX --- dgl/src/WindowPrivateData.cpp | 2 +- dgl/src/WindowPrivateData.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dgl/src/WindowPrivateData.cpp b/dgl/src/WindowPrivateData.cpp index 0377915d..29a54900 100644 --- a/dgl/src/WindowPrivateData.cpp +++ b/dgl/src/WindowPrivateData.cpp @@ -563,7 +563,7 @@ void Window::PrivateData::onPuglConfigure(const double width, const double heigh { DISTRHO_SAFE_ASSERT_INT2_RETURN(width > 1 && height > 1, width, height,); - DGL_DBGp("PUGL: onReshape : %i %i\n", width, height); + DGL_DBGp("PUGL: onReshape : %f %f\n", width, height); if (autoScaling) { diff --git a/dgl/src/WindowPrivateData.hpp b/dgl/src/WindowPrivateData.hpp index 83b9d86a..11fac31a 100644 --- a/dgl/src/WindowPrivateData.hpp +++ b/dgl/src/WindowPrivateData.hpp @@ -70,7 +70,7 @@ struct Window::PrivateData : IdleCallback { #ifdef DISTRHO_OS_WINDOWS /** Selected file for openFileBrowser on windows, stored for fake async operation. */ - const char* win32SelectedFile; + char* win32SelectedFile; #endif /** Modal window setup. */