Skip to content

Commit 8078fbc

Browse files
mgautierfrrgaudin
authored andcommitted
getFileSize must be declared to return a 64 bits integer
Fix #137
1 parent 02767d5 commit 8078fbc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* OFFLINE environ skips network-using tests (#132)
77
* Added Python3.10 Support
88
* Updated Cython to 0.29.26
9+
* Fixed `Archive.filesize` (#137)
910

1011
## 1.0.0
1112

libzim/zim.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ cdef extern from "libwrapper.h" namespace "wrapper":
131131
Archive() except +
132132
Archive(string filename) except +
133133

134-
int getFilesize() except +
134+
uint64_t getFilesize() except +
135135

136136
Entry getEntryByPath(string path) except +
137137
Entry getEntryByPath(entry_index_type idx) except +

0 commit comments

Comments
 (0)