ref: 619cfdbc66b626b436dfa9b378440f44bac8039e
parent: e7bcbc39c4f129efff26c394a02b9f24c62a167a
author: Rob Sykes <robs@users.sourceforge.net>
date: Fri Mar 9 03:07:46 EST 2012
fix warnings
--- a/src/ao.c
+++ b/src/ao.c
@@ -74,7 +74,7 @@
return SOX_SUCCESS;
}
-static void sox_sw_write_buf(char *buf1, sox_sample_t const * buf2, size_t len, sox_bool swap, size_t * clips)
+static void sox_sw_write_buf(char *buf1, sox_sample_t const * buf2, size_t len, sox_bool swap, sox_uint64_t * clips)
{
while (len--)
{
--- a/src/coreaudio.c
+++ b/src/coreaudio.c
@@ -76,7 +76,7 @@
void *inClientData)
{
priv_t *ac = (priv_t *)((sox_format_t*)inClientData)->priv;
- AudioBuffer *buf;
+ AudioBuffer const *buf;
size_t nfree, copylen, avail;
pthread_mutex_lock(&ac->mutex);