Merge pull request #225 from tweksteen/fix_224

Fix parsing of archives
diff --git a/src/elf.cc b/src/elf.cc
index 1f9efa5..7ada956 100644
--- a/src/elf.cc
+++ b/src/elf.cc
@@ -655,6 +655,7 @@
 
    private:
     string_view Consume(size_t n) {
+      n = (n % 2 == 0 ? n : n + 1);
       if (remaining_.size() < n) {
         THROW("premature end of file");
       }