[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:47:29 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=7b882f1
The following commit has been merged in the master branch:
commit 7b882f121ab4e95822e8d38b4f2c2641b9d81aa9
Author: Robin Mills <robin at clanmills.com>
Date: Sun Apr 23 20:08:03 2017 +0000
#1175 more cast ripples on GCC5/Linux
---
samples/iotest.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/iotest.cpp b/samples/iotest.cpp
index eef8c11..71ec9a7 100644
--- a/samples/iotest.cpp
+++ b/samples/iotest.cpp
@@ -142,7 +142,7 @@ int WriteReadSeek(BasicIo &io)
throw Error(9, io.path(), strError());
}
IoCloser closer(io);
- if (io.write((byte*)tester1, size1) != size1) {
+ if ((size_t) io.write((byte*)tester1, size1) != size1) {
std::cerr << ": WRS initial write failed
";
return 2;
}
@@ -195,7 +195,7 @@ int WriteReadSeek(BasicIo &io)
}
io.seek(insert, BasicIo::beg);
- if(io.write((byte*)tester2, size2) != size2) {
+ if((size_t)io.write((byte*)tester2, size2) != size2) {
std::cerr << ": WRS bad write 1
";
return 9;
}
@@ -205,7 +205,7 @@ int WriteReadSeek(BasicIo &io)
throw Error(9, io.path(), strError());
}
std::memset(buf, -1, sizeof(buf));
- if (io.read(buf, sizeof(buf)) != insert + size2) {
+ if ((size_t) io.read(buf, sizeof(buf)) != insert + size2) {
std::cerr << ": WRS something went wrong
";
return 10;
}
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list