gcc < 3.0 compilation fix.

This commit is contained in:
rocky
2005-01-18 03:27:58 +00:00
parent 00dfa4d39a
commit 32b177638e

View File

@@ -119,10 +119,11 @@ main(int argc, const char *argv[])
i++, i_lsn++ ) { i++, i_lsn++ ) {
/* read a sector */ /* read a sector */
int16_t *p_readbuf = paranoia_read(p, callback); int16_t *p_readbuf = paranoia_read(p, callback);
memcpy(audio_buf[i], p_readbuf, CDIO_CD_FRAMESIZE_RAW);
char *psz_err=cdda_errors(d); char *psz_err=cdda_errors(d);
char *psz_mes=cdda_messages(d); char *psz_mes=cdda_messages(d);
memcpy(audio_buf[i], p_readbuf, CDIO_CD_FRAMESIZE_RAW);
if (psz_mes || psz_err) if (psz_mes || psz_err)
printf("%s%s\n", psz_mes ? psz_mes: "", psz_err ? psz_err: ""); printf("%s%s\n", psz_mes ? psz_mes: "", psz_err ? psz_err: "");