Author: Suren A. Chilingaryan Index: examples/example1.c =================================================================== --- examples/example1.c.orig 2009-08-27 23:57:37.000000000 +0400 +++ examples/example1.c 2010-03-08 22:59:20.000000000 +0300 @@ -49,9 +49,9 @@ int main() { if (strlen(buf)<2) break; recoded = rccRecode(NULL, 0, 1, buf); if (recoded) { - printf(recoded); + printf("%s", recoded); free(recoded); - } else printf(buf); + } else printf("%s", buf); } rccFree(); Index: examples/example2.c =================================================================== --- examples/example2.c.orig 2009-08-27 23:57:37.000000000 +0400 +++ examples/example2.c 2010-03-08 22:59:20.000000000 +0300 @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { if (rccstring) { recoded = rccTo(NULL, 1, rccstring); if (recoded) { - printf(recoded); + printf("%s", recoded); free(recoded); } else printf("Recoding from UTF-8 is failed\n"); free(rccstring);