mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 10:32:20 +01:00
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
diff --git a/gexiv2/gexiv2-metadata.cpp b/gexiv2/gexiv2-metadata.cpp
|
|
index 928b07b..0e41781 100644
|
|
--- a/gexiv2/gexiv2-metadata.cpp
|
|
+++ b/gexiv2/gexiv2-metadata.cpp
|
|
@@ -57,7 +57,7 @@ public:
|
|
#if defined(_MSC_VER)
|
|
typedef int64_t seek_offset_t;
|
|
#else
|
|
- typedef long seek_offset_t;
|
|
+ typedef int64_t seek_offset_t;
|
|
#endif
|
|
|
|
#if EXIV2_TEST_VERSION(0,27,99)
|
|
diff --git a/gexiv2/gexiv2-stream-io.cpp b/gexiv2/gexiv2-stream-io.cpp
|
|
index 5c755c3..d9afa07 100644
|
|
--- a/gexiv2/gexiv2-stream-io.cpp
|
|
+++ b/gexiv2/gexiv2-stream-io.cpp
|
|
@@ -119,7 +119,7 @@ int StreamIo::putb (Exiv2::byte data) {
|
|
return EOF;
|
|
}
|
|
|
|
-int StreamIo::seek (long offset, Position position) {
|
|
+int StreamIo::seek (int64_t offset, Position position) {
|
|
// FIXME: handle Error
|
|
switch (position) {
|
|
case (beg):
|
|
diff --git a/gexiv2/gexiv2-stream-io.h b/gexiv2/gexiv2-stream-io.h
|
|
index 02f265f..eae6c61 100644
|
|
--- a/gexiv2/gexiv2-stream-io.h
|
|
+++ b/gexiv2/gexiv2-stream-io.h
|
|
@@ -42,7 +42,7 @@ public:
|
|
size_type read (Exiv2::byte* buf, size_type rcount) override;
|
|
int getb () override;
|
|
void transfer (Exiv2::BasicIo& src) override;
|
|
- int seek (long offset, Position pos) override;
|
|
+ int seek (int64_t offset, Position pos) override;
|
|
Exiv2::byte* mmap (bool isWriteable = false) override;
|
|
int munmap () override;
|
|
long tell () const override;
|