openbsd-ports/audio/audacity/patches/patch-lib-src_libnyquist_snd_sndheader_c

13 lines
695 B
Plaintext
Raw Normal View History

$OpenBSD: patch-lib-src_libnyquist_snd_sndheader_c,v 1.1.1.1 2006/01/12 08:59:27 steven Exp $
--- lib-src/libnyquist/snd/sndheader.c.orig Tue Jan 11 20:58:31 2005
+++ lib-src/libnyquist/snd/sndheader.c Tue Jan 11 21:02:41 2005
@@ -923,7 +923,7 @@ void snd_write_header(snd_type snd, long
8 /*SSND hdr*/ + 8 /*SSND chunk*/;
if (snd->format.bits != 8 && snd->format.bits != 16) {
char msg[64];
- sprintf(msg, "Warning: using 16 bits per sample instead of %d\n",
+ sprintf(msg, "Warning: using 16 bits per sample instead of %ld\n",
snd->format.bits);
snd_warn(msg);
snd->format.bits = 16;