diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-08 11:25:56 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-08 11:25:56 +0100 |
commit | 0e7b8b55bb9baf040bd7c7ee2304d0e069b641b3 (patch) | |
tree | 49eef708d4109ad3a3813d97f743ffe76bf47c64 | |
parent | c4ecea887d5d4b79bca1b8ee49eabefa1323aeb3 (diff) | |
download | luagit2-0e7b8b55bb9baf040bd7c7ee2304d0e069b641b3.tar.gz |
reword: Update odb_backend_read_prefix_cb to use size_t for len
-rw-r--r-- | src/odb_backend.nobj.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_backend.nobj.lua b/src/odb_backend.nobj.lua index edc3c45..8892755 100644 --- a/src/odb_backend.nobj.lua +++ b/src/odb_backend.nobj.lua @@ -99,7 +99,7 @@ static int odb_backend_read_cb(void **data_p, size_t *len_p, git_otype *type_p, return err; } -static int odb_backend_read_prefix_cb(git_oid *out_oid, void **data_p, size_t *len_p, git_otype *type_p, git_odb_backend *backend, const git_oid *short_oid, unsigned int len) +static int odb_backend_read_prefix_cb(git_oid *out_oid, void **data_p, size_t *len_p, git_otype *type_p, git_odb_backend *backend, const git_oid *short_oid, size_t len) { *data_p = NULL; if(len >= GIT_OID_HEXSZ) { |