shithub: sox

Download patch

ref: ce5ada585dc6ec662e607a0f88934adb52cb9976
parent: 2ece1583afd7f10a3543658e0fbd5070295bdef1
author: rrt <rrt>
date: Wed Dec 6 22:26:22 EST 2006

Fix type of st_mp3write

--- a/src/mp3.c
+++ b/src/mp3.c
@@ -552,7 +552,7 @@
   return ST_EOF;
 }
 
-st_ssize_t st_mp3write(ft_t ft, st_sample_t *buf, st_ssize_t samp)
+st_ssize_t st_mp3write(ft_t ft, const st_sample_t *buf, st_size_t samp)
 {
   st_fail_errno(ft,ST_EOF,"Sorry, no MP3 encoding support");
   return ST_EOF;