mgetty-1.1.14 patch: libpvf/wav.c
Gert Doering (gert@greenie.muc.de)
Tue, 14 Jul 1998 12:25:53 +0200
Hi,
Ralf W. Stephan wrote:
> don't know if this known:
>
> --- mgetty-1.1.14/voice/libpvf/wav.c~ Thu Mar 26 09:58:44 1998
> +++ mgetty-1.1.14/voice/libpvf/wav.c Tue Jul 14 11:12:43 1998
> @@ -502,7 +502,7 @@
> if (*ptr < -0x8000)
> *ptr = -0x8000;
>
> - putc((*ptr++ >> 8) & 0xff, fd_out);
> + putc((*ptr >> 8) & 0xff, fd_out);
> putc(*ptr++ & 0xff, fd_out);
Without looking at the code, I assume that "ptr" points to a 16-bit type,
in which case this patch is definitely necessary. Marc?
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de