gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit f9fac0d0de7acd465abfc351207c614252574a15
parent ed1318cc74f9ea8652cf5ab256ac15bb7b2744c5
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun, 27 Feb 2022 16:49:34 +0100

fix some warnings

Diffstat:
Msource/synthLib/midiToSysex.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/synthLib/midiToSysex.cpp b/source/synthLib/midiToSysex.cpp @@ -11,7 +11,7 @@ namespace synthLib std::wstring ToUtf16(const std::string& str) { std::wstring ret; - int len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), static_cast<int>(str.size()), NULL, 0); + const int len = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), static_cast<int>(str.size()), nullptr, 0); if (len > 0) { ret.resize(len);