Explorar o código

change 2 more chunker vars to off_t

so they get 64bit on 32bit platforms.
Thomas Waldmann %!s(int64=10) %!d(string=hai) anos
pai
achega
e244fe2f69
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;