summaryrefslogtreecommitdiff
path: root/src/utilities/archiveReader.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-17 06:41:54 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-17 06:41:54 +0200
commite605fe5dffe686241847c67166fe2414b48ee2a8 (patch)
tree5b506de0a4faa0506d0cf053af8e9d7184aa59bf /src/utilities/archiveReader.vala
parent6617f5ee51c94d05028ebceb3177ec0e3a87e78d (diff)
parent6a2a889a6de6b45fcc21e0050763858768610952 (diff)
Merge branch 'release/debian/0.7.3-1'debian/0.7.3-1
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