Explorar el Código

touchup printf format to fix warning

Mike Frysinger hace 19 años
padre
commit
6b02fa65c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/regex/testregex.c

+ 1 - 1
test/regex/testregex.c

@@ -1863,7 +1863,7 @@ main(int argc, char** argv)
 								else
 								{
 									report("re_nsub incorrect", fun, re, NiL, -1, msg, flags, test);
-									printf("at least %d expected, %d returned\n", nsub, preg.re_nsub);
+									printf("at least %d expected, %zd returned\n", nsub, preg.re_nsub);
 									state.errors++;
 								}
 							}