summaryrefslogtreecommitdiff
path: root/src/diff_tform.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-06-29 12:48:58 +0200
committernulltoken <emeric.fermas@gmail.com>2013-06-29 13:27:55 +0200
commitc4ac556ee7171ee206e11687907d5dbee3ce0a6d (patch)
treedefe10a5a0eaa881d3bdbbc10c667f5a9bd10c1e /src/diff_tform.c
parentf2c41884c3082984f51743d557644cfa2136b878 (diff)
downloadlibgit2-c4ac556ee7171ee206e11687907d5dbee3ce0a6d.tar.gz
Fix compilation warnings
Diffstat (limited to 'src/diff_tform.c')
-rw-r--r--src/diff_tform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_tform.c b/src/diff_tform.c
index 8c4e96ecf..b137bd319 100644
--- a/src/diff_tform.c
+++ b/src/diff_tform.c
@@ -900,7 +900,7 @@ find_best_matches:
}
/* otherwise, if we just overwrote a source, update mapping */
else if (j > i && match_srcs[i].similarity > 0) {
- match_tgts[match_srcs[i].idx].idx = j;
+ match_tgts[match_srcs[i].idx].idx = (uint32_t)j;
}
num_updates++;