ref: 3ba60a5d797892925abdf29165436162f0fa05c9
parent: c37bc06cc991cf802929a764b895be25a128d8d4
author: cbagwell <cbagwell>
date: Sun Oct 26 09:47:35 EDT 2008
get rid of extra cast.
--- a/src/wavpack.c
+++ b/src/wavpack.c
@@ -30,7 +30,7 @@
static int ft_seek_abs(void * ft, uint32_t offset) {
return lsx_seeki((sox_format_t *)ft, (off_t)offset, SEEK_SET);}
static int ft_seek_rel(void * ft, int32_t offset, int mode) {
- return lsx_seeki((sox_format_t *)ft, (off_t)(ptrdiff_t)offset, mode);}
+ return lsx_seeki((sox_format_t *)ft, (off_t)offset, mode);}
static int ft_unreadb(void * ft, int b) {
return lsx_unreadb((sox_format_t *)ft, (unsigned)b);}
static uint32_t ft_filelength(void * ft) {