Print BKHD wwise id as unsigned for clarity

printf'ing an unsigned value as signed (%i) still gives unsigned result,
as does a signed value as unsigned (%u), maybe implementation-defined
though
This commit is contained in:
bnnm 2020-03-14 16:35:44 +01:00
parent 5743f42e22
commit faf6def4fe

View File

@ -50,7 +50,7 @@ VGMSTREAM* init_vgmstream_bkhd(STREAMFILE* sf) {
if (!vgmstream) goto fail;
vgmstream->num_streams = total_subsongs;
snprintf(vgmstream->stream_name, STREAM_NAME_SIZE, "%i", subfile_id);
snprintf(vgmstream->stream_name, STREAM_NAME_SIZE, "%u", subfile_id);
close_streamfile(temp_sf);
return vgmstream;