fix various incompatible pointer types. This patch fixes a bunch of type error like the following by casting the expected types, working around gcc warnings that have gone fatal in gcc 14: . src/index.c:1263:59: error: passing argument 2 of ‘ti_querys_2d_multi’ from incompatible pointer type +[-Wincompatible-pointer-types] 1263 | sequential_iter_t *siter = ti_querys_2d_multi(t, regions, n_sub_list); | ^~~~~~~ | | | char ** src/pairix.h:131:73: note: expected ‘const char **’ but argument is of type ‘char **’
Avoid a Python3.10 regression in iterating GzipFiles Open the file with a context manager, so we're holding onto a reference to it, for the lifetime of the iteration. This avoids hitting https://bugs.python.org/issue45475 which affects python3.10 3.10.0-4 in Debian.