summaryrefslogtreecommitdiff
path: root/src/utilities/archiveReader.vala
diff options
context:
space:
mode:
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