Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ env
.tox
hashindex.c
chunker.c
crypto.c
platform_linux.c
*.egg-info
*.pyc
*.pyo
Expand Down
4 changes: 2 additions & 2 deletions attic/_hashindex.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ hashindex_read(const char *path)
EPRINTF_PATH(path, "fread failed");
}
else {
EPRINTF_MSG_PATH(path, "failed to read %ld bytes", sizeof(HashHeader));
EPRINTF_MSG_PATH(path, "failed to read %ld bytes", (long) sizeof(HashHeader));
}
goto fail;
}
Expand Down Expand Up @@ -185,7 +185,7 @@ hashindex_read(const char *path)
EPRINTF_PATH(path, "fread failed");
}
else {
EPRINTF_MSG_PATH(path, "failed to read %ld bytes", length);
EPRINTF_MSG_PATH(path, "failed to read %lld bytes", (long long) buckets_length);
}
free(index->buckets);
free(index);
Expand Down