diff --git a/taglib/flac/flacproperties.cpp b/taglib/flac/flacproperties.cpp index 3ee018fe..f1370590 100644 --- a/taglib/flac/flacproperties.cpp +++ b/taglib/flac/flacproperties.cpp @@ -146,5 +146,5 @@ void FLAC::Properties::read() // Real bitrate: - d->bitrate = d->length > 0 ? ((d->streamLength * 8L) / d->length) / 1000 : 0; + d->bitrate = d->length > 0 ? ((d->streamLength * 8UL) / d->length) / 1000 : 0; }