mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 04:54:19 -04:00
Make sure that the type conversion happens so that this number ends up being
the appropriate seek location. I'm pretty sure that this is what was causing Ogg length information to not work on x86_64. Can you confirm Hamish? BUG:86806 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -226,11 +226,11 @@ long File::rfind(const ByteVector &pattern, long fromOffset, const ByteVector &b
|
||||
|
||||
long bufferOffset;
|
||||
if(fromOffset == 0) {
|
||||
seek(-1 * d->bufferSize, End);
|
||||
seek(-1 * int(d->bufferSize), End);
|
||||
bufferOffset = tell();
|
||||
}
|
||||
else {
|
||||
seek(fromOffset + -1 * d->bufferSize, Beginning);
|
||||
seek(fromOffset + -1 * int(d->bufferSize), Beginning);
|
||||
bufferOffset = tell();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user