To make `xdl_classify_record()` work, the `ha` attributes of `xrecord_t` and of `s_xdlclass` _must_ have the same range. Otherwise the function won't be able to recognize previously-classified records correctly when the `ha` recorded in the `xrecord_t` is so wide that it won't fit into the `s_xdlclass`' attribute and therefore they won't match when they need to match. Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx> --- xdiff/xprepare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdiff/xprepare.c b/xdiff/xprepare.c index 5a2e52f102cf7..c0463bacd94b0 100644 --- a/xdiff/xprepare.c +++ b/xdiff/xprepare.c @@ -32,7 +32,7 @@ typedef struct s_xdlclass { struct s_xdlclass *next; - unsigned long ha; + u64 ha; char const *line; long size; long idx; -- 2.50.1.windows.1