summaryrefslogtreecommitdiff
path: root/src/utilities/archiveReader.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-03 20:25:35 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-03 20:25:35 +0200
commit7333967b198f83c33b46608cad5989137896dd8d (patch)
treeb80fb3dd2fad13f239ea1fb0f252faa02165ec83 /src/utilities/archiveReader.vala
parent8ef660cf7c92b3407bf2fbfb0f063b90fbe991cf (diff)
parent7ea867bbca058b7d7d229cf37c2d001522593a09 (diff)
Merge branch 'feature/upstream' into develop
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