diff options
author | Russell Belfer <rb@github.com> | 2012-09-28 09:08:09 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-09-28 14:34:08 -0700 |
commit | cc5bf359a6a56b2abd898feccf2c33dc2a5f6a3e (patch) | |
tree | b267672c0686fb731a4c7d1c760d4a31af86c66a /src/diff_output.c | |
parent | 34402bcdb94ff412e66220ada0b776c25cd8c30d (diff) | |
download | libgit2-cc5bf359a6a56b2abd898feccf2c33dc2a5f6a3e.tar.gz |
Clean up Win64 warnings
Diffstat (limited to 'src/diff_output.c')
-rw-r--r-- | src/diff_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_output.c b/src/diff_output.c index 05bca4668..8a099a433 100644 --- a/src/diff_output.c +++ b/src/diff_output.c @@ -1366,7 +1366,7 @@ int git_diff_patch_num_lines_in_hunk( if (hunk_idx >= patch->hunks_size) return GIT_ENOTFOUND; else - return patch->hunks[hunk_idx].line_count; + return (int)patch->hunks[hunk_idx].line_count; } int git_diff_patch_get_line_in_hunk( |