myatoi(discnumber_ptr),
myatoi(totaldiscs_ptr));
if (tempo_ptr)
- membuffer_write_int16_tag(buf, "tmpo",
- (uint16_t) myatoi(tempo_ptr));
+ membuffer_write_int16_tag(buf, "tmpo", myatoi(tempo_ptr));
if (genre_ptr) {
uint32_t index = meta_genre_to_index(genre_ptr);
membuffer_write_std_tag(buf, "©gen",
genre_ptr);
else
- membuffer_write_int16_tag(buf, "gnre",
- (uint16_t) index);
+ membuffer_write_int16_tag(buf, "gnre", index);
}
for (metaptr = 0; metaptr < data->count; metaptr++) {
if (!mask[metaptr]) {