Avoid a compiler warning.

This commit is contained in:
Moritz Bunkus 2008-08-24 16:20:31 +00:00
parent a004bdb233
commit 3b4a0f45ab

View File

@ -54,8 +54,7 @@ fhe_read_cb(const FLAC__StreamDecoder *decoder,
}
if (*bytes < op.bytes)
mxerror(FPFX "bytes (%u) < op.bytes (%ld). Could not read the FLAC "
"headers.\n", *bytes, op.bytes);
mxerror(FPFX "bytes (%u) < op.bytes (%ld). Could not read the FLAC headers.\n", (unsigned int)*bytes, (long)op.bytes);
memcpy(buffer, op.packet, op.bytes);
*bytes = op.bytes;
fhe->num_packets++;