summaryrefslogtreecommitdiff
path: root/src/diff_output.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-10-01 13:57:32 -0700
committerVicent Martí <vicent@github.com>2012-10-01 13:57:32 -0700
commit8bc5caccee4ebb0b9239135fe81750f3b72a8e76 (patch)
tree8fed4cac4b5819cdf8ec56b8edfc7d2b78c22dd7 /src/diff_output.c
parent93b5fabcc03e465609d0d68af13f4ab2cf1e2dfd (diff)
parent7c411fd9b2aa63cdf6ace07640fdae91b695660b (diff)
downloadlibgit2-8bc5caccee4ebb0b9239135fe81750f3b72a8e76.tar.gz
Merge pull request #961 from arrbee/win64-cleanups
Win64 cleanups
Diffstat (limited to 'src/diff_output.c')
-rw-r--r--src/diff_output.c2
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(