Fix all warnings

This commit is contained in:
jaburns
2020-10-30 12:11:26 -06:00
parent 144df0df98
commit fa3d9e77db
19 changed files with 189 additions and 186 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#include "load_tex_data.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "libsm64.h"
@@ -34,7 +35,7 @@ void load_mario_textures_from_rom( uint8_t *rom, uint8_t *outTexture )
mio0_decode_header( in_buf, &head );
uint8_t *out_buf = malloc( head.dest_size );
int bytes_read = mio0_decode( in_buf, out_buf, NULL );
mio0_decode( in_buf, out_buf, NULL );
for( int i = 0; i < NUM_USED_TEXTURES; ++i )
{