# HG changeset patch # User William Pitcock # Date 1214885132 18000 # Node ID ead11a126bddcd15d333567f6d319c77b310f6c7 # Parent aa2e0f33f55da5c18a30093575803bba874a8577 clean up warnings. diff -r aa2e0f33f55d -r ead11a126bdd src/psf2/plugin.c --- a/src/psf2/plugin.c Mon Jun 30 23:03:47 2008 -0500 +++ b/src/psf2/plugin.c Mon Jun 30 23:05:32 2008 -0500 @@ -55,14 +55,13 @@ /* ao_get_lib: called to load secondary files */ int ao_get_lib(char *filename, uint8 **buffer, uint64 *length) { - uint8 *filebuf; - uint32 size; - VFSFile *auxfile; + guchar *filebuf; + gsize size; char buf[PATH_MAX]; snprintf(buf, PATH_MAX, "%s/%s", dirname(path), filename); - aud_vfs_file_get_contents(buf, &filebuf, &size); + aud_vfs_file_get_contents(buf, (gchar **) &filebuf, &size); *buffer = filebuf; *length = (uint64)size; @@ -72,11 +71,12 @@ void psf2_play(InputPlayback *data) { - uint8 *buffer; - uint32 size, filesig; + guchar *buffer; + gsize size; + uint32 filesig; path = g_strdup(data->filename); - aud_vfs_file_get_contents(data->filename, &buffer, &size); + aud_vfs_file_get_contents(data->filename, (gchar **) &buffer, &size); // now try to identify the file type = 0;