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:
Scott Wheeler
2004-10-28 23:27:29 +00:00
parent 200c608f4f
commit 90772906db

View File

@ -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();
}