summaryrefslogtreecommitdiff
path: root/src/utilities/archiveReader.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-03 20:24:02 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-03 20:24:02 +0200
commit38bebbbddf1b2e8620c6b3c2101f689c0296a1fc (patch)
treebf635aab914c9de931bc7cb0b4faf929a7186582 /src/utilities/archiveReader.vala
parente62a1c4bd7e6073de5aef7a262d838b0df46d504 (diff)
New upstream version 0.7.3upstream/0.7.3upstream
Diffstat (limited to 'src/utilities/archiveReader.vala')
-rw-r--r--src/utilities/archiveReader.vala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utilities/archiveReader.vala b/src/utilities/archiveReader.vala
index 0200c8a..82f067f 100644
--- a/src/utilities/archiveReader.vala
+++ b/src/utilities/archiveReader.vala
@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
-// Copyright 2011-2018 Simon Schneegans
+// Copyright 2011-2021 Simon Schneegans
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -89,12 +89,13 @@ public class ArchiveReader : GLib.Object {
if (entry.size() > 0) {
while (true) {
- size_t offset, size;
#if VALA_0_42
+ size_t offset;
uint8[] buff;
r = this.archive.read_data_block(out buff, out offset);
#else
+ size_t offset, size;
void* buff;
r = this.archive.read_data_block(out buff, out size, out offset);
#endif