Browse Source

taglib: don't cast the file st_size to a possibly smaller type

We can just use auto and always get the proper type.
pull/141/head
Steve Lhomme 4 years ago
committed by Jean-Baptiste Kempf
parent
commit
7413126744
  1. 2
      modules/meta_engine/taglib.cpp

2
modules/meta_engine/taglib.cpp

@ -1169,7 +1169,7 @@ static void WriteMetaToId3v2( ID3v2::Tag* tag, input_item_t* p_item )
fclose( p_file );
return;
}
off_t file_size = st.st_size;
auto file_size = st.st_size;
free( psz_path );

Loading…
Cancel
Save