Update preset.
[bertos.git] / bertos / mware / sprintf_test.c
index 15e1e7b3e9cfbd1faa8bfd2ae65ee28b10ba77ac..caf952a65729859dae40dfe9c6c1809d01e3d84f 100644 (file)
  *
  * -->
  *
+ * notest: avr
+ * notest: arm
  * \brief sprintf() implementation based on _formatted_write()
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
@@ -64,7 +65,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;