[priv] remove sprintf and add snprintf
authorPaul Brossier <piem@piem.org>
Tue, 26 Dec 2023 18:41:12 +0000 (19:41 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 26 Dec 2023 18:41:12 +0000 (19:41 +0100)
src/aubio_priv.h

index 8cb6756..a2a8b8c 100644 (file)
@@ -260,7 +260,7 @@ uint_t aubio_log(sint_t level, const char_t *fmt, ...);
 #define AUBIO_ERROR   AUBIO_ERR
 
 #define AUBIO_QUIT(_s)               exit(_s)
-#define AUBIO_SPRINTF                sprintf
+#define AUBIO_SNPRINTF               snprintf
 
 #define AUBIO_MAX_SAMPLERATE (192000*8)
 #define AUBIO_MAX_CHANNELS 1024