X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diffcore-break.c;h=9c19b8cab778362b9d369135e743fb232a7cd295;hb=a2f8028d3d661b314d5a784764f2f5f9e4c2dde0;hp=acb18db1db27dc29fdb76bd519174aa56f56121d;hpb=659db3f673fe199bad6ce9cc625d3a1b098bfbcf;p=git.git diff --git a/diffcore-break.c b/diffcore-break.c index acb18db1d..9c19b8cab 100644 --- a/diffcore-break.c +++ b/diffcore-break.c @@ -89,7 +89,7 @@ static int should_break(struct diff_filespec *src, * merge the surviving pair together if the score is * less than the minimum, after rename/copy runs. */ - *merge_score_p = src_removed * MAX_SCORE / src->size; + *merge_score_p = (int)(src_removed * MAX_SCORE / src->size); /* Extent of damage, which counts both inserts and * deletes.