bug #1365: fix another type mismatch warning

(sync is set from and compared to an Index)
1 file changed