aboutsummaryrefslogtreecommitdiff
path: root/sandbox_ui.lv2
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-02-18 22:36:52 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-02-18 22:36:52 +0100
commit656aeddec6f90d965e2c1d91eb5a9abc8e4723c1 (patch)
treeca63cfbac7037c939f3a4f5cef6211459605f347 /sandbox_ui.lv2
parent57d7a4588f4031c08cf3d4318a61e9c677a19915 (diff)
downloadsynthpod-656aeddec6f90d965e2c1d91eb5a9abc8e4723c1.zip
synthpod-656aeddec6f90d965e2c1d91eb5a9abc8e4723c1.tar.gz
synthpod-656aeddec6f90d965e2c1d91eb5a9abc8e4723c1.tar.bz2
synthpod-656aeddec6f90d965e2c1d91eb5a9abc8e4723c1.tar.xz
Add format attribute for compiler checks.
Diffstat (limited to 'sandbox_ui.lv2')
-rw-r--r--sandbox_ui.lv2/sandbox_slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox_ui.lv2/sandbox_slave.c b/sandbox_ui.lv2/sandbox_slave.c
index 68a3ea5..74144a8 100644
--- a/sandbox_ui.lv2/sandbox_slave.c
+++ b/sandbox_ui.lv2/sandbox_slave.c
@@ -172,7 +172,7 @@ _log_vprintf(LV2_Log_Handle handle, LV2_URID type, const char *fmt, va_list args
return 0;
}
-static inline int
+static inline int __attribute__((format(printf, 3, 4)))
_log_printf(LV2_Log_Handle handle, LV2_URID type, const char *fmt, ...)
{
va_list args;