music_ogg.c
changeset 642 dae7bb0a66b1
parent 625 1d489d8ec2e0
child 690 3d18eb009c89
     1.1 --- a/music_ogg.c	Sun Jun 09 16:34:57 2013 -0700
     1.2 +++ b/music_ogg.c	Tue Jun 11 23:21:37 2013 -0700
     1.3 @@ -56,14 +56,14 @@
     1.4      return SDL_RWread((SDL_RWops*)datasource, ptr, size, nmemb);
     1.5  }
     1.6  
     1.7 -static int sdl_seek_func(void *datasource, ogg_int64_t offset, int whence)
     1.8 +static Sint64 sdl_seek_func(void *datasource, ogg_int64_t offset, int whence)
     1.9  {
    1.10 -    return (int)SDL_RWseek((SDL_RWops*)datasource, (int)offset, whence);
    1.11 +    return SDL_RWseek((SDL_RWops*)datasource, offset, whence);
    1.12  }
    1.13  
    1.14 -static long sdl_tell_func(void *datasource)
    1.15 +static Sint64 sdl_tell_func(void *datasource)
    1.16  {
    1.17 -    return (long)SDL_RWtell((SDL_RWops*)datasource);
    1.18 +    return SDL_RWtell((SDL_RWops*)datasource);
    1.19  }
    1.20  
    1.21  /* Load an OGG stream from an SDL_RWops object */