Browse Source

change 2 more chunker vars to off_t

so they get 64bit on 32bit platforms.
Thomas Waldmann 10 years ago
parent
commit
e244fe2f69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      borg/_chunker.c

+ 1 - 1
borg/_chunker.c

@@ -130,7 +130,7 @@ static int
 chunker_fill(Chunker *c)
 {
     ssize_t n;
-    size_t offset, length;
+    off_t offset, length;
     PyObject *data;
     memmove(c->data, c->data + c->last, c->position + c->remaining - c->last);
     c->position -= c->last;