X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=diffcore-break.c;h=9c19b8cab778362b9d369135e743fb232a7cd295;hb=a2f8028d3d661b314d5a784764f2f5f9e4c2dde0;hp=acb18db1db27dc29fdb76bd519174aa56f56121d;hpb=5bac4a671907604b5fb4e24ff682d5b0e8431931;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.