comparison decoders/ogg.c @ 122:095a066b2cd2

Portability fix.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 08 Oct 2001 01:46:24 +0000
parents 40de367eb59e
children 1df5c106504e
comparison
equal deleted inserted replaced
121:4331b1b7e7db 122:095a066b2cd2
97 static size_t RWops_ogg_read(void *ptr, size_t size, size_t nmemb, void *datasource) 97 static size_t RWops_ogg_read(void *ptr, size_t size, size_t nmemb, void *datasource)
98 { 98 {
99 return((size_t) SDL_RWread((SDL_RWops *) datasource, ptr, size, nmemb)); 99 return((size_t) SDL_RWread((SDL_RWops *) datasource, ptr, size, nmemb));
100 } /* RWops_ogg_read */ 100 } /* RWops_ogg_read */
101 101
102 static int RWops_ogg_seek(void *datasource, int64_t offset, int whence) 102 static int RWops_ogg_seek(void *datasource, ogg_int64_t offset, int whence)
103 { 103 {
104 return(SDL_RWseek((SDL_RWops *) datasource, offset, whence)); 104 return(SDL_RWseek((SDL_RWops *) datasource, offset, whence));
105 } /* RWops_ogg_seek */ 105 } /* RWops_ogg_seek */
106 106
107 static int RWops_ogg_close(void *datasource) 107 static int RWops_ogg_close(void *datasource)