Fix incompatible-pointer-types error with modern gcc (tested with gcc 14). --- a/src/poptint.c +++ b/src/poptint.c @@ -82,11 +82,11 @@ if (codeset != NULL && strcmp(codeset, "UTF-8") != 0 && (cd = iconv_open(codeset, "UTF-8")) != (iconv_t)-1) { - char * shift_pin = NULL; + const char * shift_pin = NULL; size_t db = strlen(istr); char * dstr = malloc((db + 1) * sizeof(*dstr)); char * dstr_tmp; - char * pin = istr; + const char * pin = istr; char * pout = dstr; size_t ib = db; size_t ob = db;