View | Details | Raw Unified | Return to bug 280143 | Differences between
and this patch

Collapse All | Expand All

(-)b/multimedia/kodi/files/patch-xbmc_music_tags_TagLibVFSStream.h (+41 lines)
Line 0 Link Here
1
--- xbmc/music/tags/TagLibVFSStream.h.orig	2024-06-28 10:37:37 UTC
2
+++ xbmc/music/tags/TagLibVFSStream.h
3
@@ -38,7 +38,7 @@ namespace MUSIC_INFO
4
      * Reads a block of size \a length at the current get pointer.
5
      */
6
 #if (TAGLIB_MAJOR_VERSION >= 2)
7
-    TagLib::ByteVector readBlock(unsigned long length) override;
8
+    TagLib::ByteVector readBlock(size_t length) override;
9
 #else
10
     TagLib::ByteVector readBlock(TagLib::ulong length) override;
11
 #endif
12
@@ -99,7 +99,7 @@ namespace MUSIC_INFO
13
      *
14
      * \see Position
15
      */
16
-    void seek(long offset, TagLib::IOStream::Position p = Beginning) override;
17
+    void seek(TagLib::offset_t offset, TagLib::IOStream::Position p = Beginning) override;
18
 
19
     /*!
20
      * Reset the end-of-file and error flags on the file.
21
@@ -109,17 +109,17 @@ namespace MUSIC_INFO
22
     /*!
23
      * Returns the current offset within the file.
24
      */
25
-    long tell() const override;
26
+    TagLib::offset_t tell() const override;
27
 
28
     /*!
29
      * Returns the length of the file.
30
      */
31
-    long length() override;
32
+    TagLib::offset_t length() override;
33
 
34
     /*!
35
      * Truncates the file to a \a length.
36
      */
37
-    void truncate(long length) override;
38
+    void truncate(TagLib::offset_t length) override;
39
 
40
   protected:
41
     /*!

Return to bug 280143