Commit 07228ff5 authored by Max Kellermann's avatar Max Kellermann

tag/Id3Load: use offset_type instead of off_t

parent a61f153d
...@@ -87,7 +87,7 @@ ReadId3Tag(InputStream &is) ...@@ -87,7 +87,7 @@ ReadId3Tag(InputStream &is)
} }
static UniqueId3Tag static UniqueId3Tag
ReadId3Tag(InputStream &is, off_t offset) ReadId3Tag(InputStream &is, offset_type offset)
{ {
if (!is.Seek(offset, IgnoreError())) if (!is.Seek(offset, IgnoreError()))
return nullptr; return nullptr;
...@@ -107,7 +107,7 @@ ReadId3v1Tag(InputStream &is) ...@@ -107,7 +107,7 @@ ReadId3v1Tag(InputStream &is)
} }
static UniqueId3Tag static UniqueId3Tag
ReadId3v1Tag(InputStream &is, off_t offset) ReadId3v1Tag(InputStream &is, offset_type offset)
{ {
if (!is.Seek(offset, IgnoreError())) if (!is.Seek(offset, IgnoreError()))
return nullptr; return nullptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment