fix code not compiling with GCC 15

improve cx_strreplacen() - resolves #623

(0) -1000 -300 -100 -30 -10 -2 +2 tip

mercurial