X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fsprintf_test.c;h=eba0da66e58d2ce572e499ab9d6484f602d60c92;hb=667e412873549a066190aca940b748fa4ee3d9b2;hp=15e1e7b3e9cfbd1faa8bfd2ae65ee28b10ba77ac;hpb=2474b1fd51b1363ac87daa59c159f822b223d41a;p=bertos.git diff --git a/bertos/mware/sprintf_test.c b/bertos/mware/sprintf_test.c index 15e1e7b3..eba0da66 100644 --- a/bertos/mware/sprintf_test.c +++ b/bertos/mware/sprintf_test.c @@ -30,6 +30,8 @@ * * --> * + * notest: avr + * notest: arm * \brief sprintf() implementation based on _formatted_write() * * \version $Id$ @@ -64,7 +66,7 @@ int sprintf_testRun(void) if (strcmp(buf, test_string) != 0) return 1; - snprintf(buf, sizeof buf, "%S", (wchar_t *)test_string_pgm); + snprintf(buf, sizeof buf, "%S", (const wchar_t *)test_string_pgm); if (strcmp(buf, test_string_pgm) != 0) return 2;