summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-11-28 12:28:05 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-11-28 12:28:05 +0100
commite1c0aebde443979a524a944027b81f84f4323ff3 (patch)
tree6f3242e4e1c8c80e3d82be4119ddd72dee317c5e /style.css
parent66df204c440de3b0cf3442d3a0c719016cdcf9c6 (diff)
fix warning with libgit2 v0.99+, remain compatible with older versions
git_blob_rawsize now returns with git_object_size_t (unsigned). This was git_off_t (signed). In my current version 1.1.0: types.h:typedef uint64_t git_object_size_t; v0.28.5: https://libgit2.org/libgit2/#v0.28.5/group/blob/git_blob_rawsize changed from v0.99 onwards: https://libgit2.org/libgit2/#v0.99.0/group/blob/git_blob_rawsize Fix: use size_t to remain compatible (with a possible warning in older versions), since git_object_size_t is a new defined type. This assumes size_t is atleast uint32_t / uint64_t size. Adapted from a patch by Augustin Fabre <augustin@augfab.fr>, thanks!
Diffstat (limited to 'style.css')
0 files changed, 0 insertions, 0 deletions