VC warning fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4718 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-11-08 01:08:53 +00:00
parent 9256ee374b
commit b28974415c
4 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
static size_t oggcallbackread(void *ptr, size_t size, size_t nmemb, void *datasource)
{
stream *s = (stream *)datasource;
return s ? s->read(ptr, size*nmemb)/size : 0;
return s ? s->read(ptr, int(size*nmemb))/size : 0;
}
static int oggcallbackseek(void *datasource, ogg_int64_t offset, int whence)