diff options
author | Jiri Pospisil <mekishizufu@gmail.com> | 2014-03-06 22:23:57 +0100 |
---|---|---|
committer | Jiri Pospisil <mekishizufu@gmail.com> | 2014-03-07 15:52:34 +0100 |
commit | 79aa03020d1a2020b4189ad272ee603af34f0921 (patch) | |
tree | 2eb0fe6e68006f5f03c7f45762f5c0faac507fce /include/git2/object.h | |
parent | 00258cc0b6d54f8c5802b41089d9c6b74ba2f919 (diff) | |
download | libgit2-79aa03020d1a2020b4189ad272ee603af34f0921.tar.gz |
blame: Fix compare function's data types
Previously the hunk_byfinalline_search_cmp function was called with different
data types (size_t and uint32_t) for the key argument but expected only the
former resulting in an invalid memory access when passed the latter on a 64 bit
machine.
The following patch makes sure that the function is called and works with the
same type (size_t).
Diffstat (limited to 'include/git2/object.h')
0 files changed, 0 insertions, 0 deletions