diff options
author | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2015-12-03 00:03:06 +0900 |
---|---|---|
committer | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2015-12-03 00:03:06 +0900 |
commit | 085a0ef2987496937292134adff6869b65a5be71 (patch) | |
tree | 8b0d9c2e149f2eeb3df3c62a820aef122927daaa /taglib/riff | |
parent | 363c471a2d9b28540324cb4807fc252c19c9d0fb (diff) |
Use a standard type rather than TagLib::ulong.
This won't break the ABI compatibility.
Diffstat (limited to 'taglib/riff')
-rw-r--r-- | taglib/riff/rifffile.cpp | 4 | ||||
-rw-r--r-- | taglib/riff/rifffile.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/taglib/riff/rifffile.cpp b/taglib/riff/rifffile.cpp index 8317a57e..2518dd9e 100644 --- a/taglib/riff/rifffile.cpp +++ b/taglib/riff/rifffile.cpp @@ -178,7 +178,7 @@ void RIFF::File::setChunkData(const ByteVector &name, const ByteVector &data, bo // Couldn't find an existing chunk, so let's create a new one. uint i = d->chunks.size() - 1; - ulong offset = d->chunks[i].offset + d->chunks[i].size; + unsigned long offset = d->chunks[i].offset + d->chunks[i].size; // First we update the global size @@ -284,7 +284,7 @@ void RIFF::File::read() } void RIFF::File::writeChunk(const ByteVector &name, const ByteVector &data, - ulong offset, ulong replace, uint leadingPadding) + unsigned long offset, unsigned long replace, uint leadingPadding) { ByteVector combined; if(leadingPadding) { diff --git a/taglib/riff/rifffile.h b/taglib/riff/rifffile.h index 11d2b71a..766ae0c4 100644 --- a/taglib/riff/rifffile.h +++ b/taglib/riff/rifffile.h @@ -145,7 +145,7 @@ namespace TagLib { void read(); void writeChunk(const ByteVector &name, const ByteVector &data, - ulong offset, ulong replace = 0, + unsigned long offset, unsigned long replace = 0, uint leadingPadding = 0); class FilePrivate; |