]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
castaway
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Jan 2006 21:05:46 +0000 (21:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Jan 2006 21:05:46 +0000 (21:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@281 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index a41040936de89a1cdecc65efea6b2f8d103204d3..44fb016087ace6abad210fa8d9b74c88ec19b58d 100644 (file)
@@ -362,14 +362,14 @@ SWITCH_DECLARE(switch_status) switch_core_file_read(switch_file_handle *fh, void
 {
        assert(fh != NULL);
 
-       return fh->file_interface->file_read(fh, data, len);
+       return fh->file_interface->file_read(fh, data, (int *)len);
 }
 
 SWITCH_DECLARE(switch_status) switch_core_file_write(switch_file_handle *fh, void *data, size_t *len)
 {
        assert(fh != NULL);
 
-       return fh->file_interface->file_write(fh, data, len);
+       return fh->file_interface->file_write(fh, data, (int *)len);
 }
 
 SWITCH_DECLARE(switch_status) switch_core_file_seek(switch_file_handle *fh, unsigned int *cur_pos, unsigned int samples, int whence)