SHA256
1
0
forked from pool/scummvm
scummvm/0003-FLUIDSYNTH-Fix-build.patch

23 lines
779 B
Diff
Raw Normal View History

From a3bc5d64b8c4041326c8a214c47f9a206fb8b693 Mon Sep 17 00:00:00 2001
From: sluicebox <22204938+sluicebox@users.noreply.github.com>
Date: Mon, 8 Mar 2021 21:00:59 -0800
Subject: [PATCH] FLUIDSYNTH: Fix build
---
audio/softsynth/fluidsynth.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/softsynth/fluidsynth.cpp b/audio/softsynth/fluidsynth.cpp
index e41a7515b205..215547c6bad4 100644
--- a/audio/softsynth/fluidsynth.cpp
+++ b/audio/softsynth/fluidsynth.cpp
@@ -46,7 +46,7 @@
#include "backends/platform/ios7/ios7_common.h"
#endif
-static void logHandler(int level, const char *message, void *data) {
+static void logHandler(int level, char *message, void *data) {
switch (level) {
case FLUID_PANIC:
error("FluidSynth: %s", message);