fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14424 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-07-29 22:33:44 +00:00
parent 58d5c86936
commit c0248be1c3
2 changed files with 5 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ struct shout_context {
int mp3err;
int dlen;
FILE *fp;
int samplerate;
size_t samplerate;
uint8_t thread_running;
uint8_t shout_init;
uint32_t prebuf;
@@ -791,7 +791,7 @@ static switch_status_t shout_file_seek(switch_file_handle_t *handle, unsigned in
}
switch_buffer_zero(context->audio_buffer);
*cur_sample = mpg123_seek (context->mh, samples, whence);
*cur_sample = mpg123_seek (context->mh, (off_t)samples, whence);
return *cur_sample >= 0 ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE;
}