Try to fix MSVC error

This commit is contained in:
twinaphex 2017-05-08 21:12:55 +02:00
parent efd0c991a6
commit 8e3d0612d2
2 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ int rwav_iterate(rwav_iterator_t *iter)
return RWAV_ITERATE_ERROR;
}
int rwav_load(rwav_t* out, const void* buf, size_t size)
enum rwav_state rwav_load(rwav_t* out, const void* buf, size_t size)
{
int res;
enum rwav_state res;
rwav_iterator_t iter;
iter.out = NULL;

View File

@ -75,7 +75,7 @@ int rwav_iterate(rwav_iterator_t *iter);
/**
* Loads the entire data in one go.
*/
int rwav_load(rwav_t* out, const void* buf, size_t size);
enum rwav_state rwav_load(rwav_t* out, const void* buf, size_t size);
/**
* Frees parsed wave data.