Преглед изворни кода

change 2 more chunker vars to off_t

so they get 64bit on 32bit platforms.
Thomas Waldmann пре 10 година
родитељ
комит
e244fe2f69
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      borg/_chunker.c

+ 1 - 1
borg/_chunker.c

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