From: kvigor Date: Tue, 19 Sep 2000 04:12:36 +0000 (+0000) Subject: minor TINI fixes X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=e49b885fb2cbbaed493ad1a8275e3e570dc0e9cd;p=fw%2Fsdcc minor TINI fixes git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@381 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/tests/dhrystone/dhry.c b/support/tests/dhrystone/dhry.c index a6e6dd47..025a3bb5 100644 --- a/support/tests/dhrystone/dhry.c +++ b/support/tests/dhrystone/dhry.c @@ -154,7 +154,7 @@ int main(void) for (Run_Index = 1; Run_Index <= Number_Of_Runs; ++Run_Index) { DPRINTF(("Run_Index = %d\n", Run_Index)); if (!(Run_Index & 1023)) - printf("Loops: %u\r", Run_Index); + printf("Loops: %u\r\n", Run_Index); Proc_5(); Proc_4(); /* Ch_1_Glob == 'A', Ch_2_Glob == 'B', Bool_Glob == true */ @@ -280,9 +280,9 @@ int main(void) printf (" should be: %d\n", (int)7); printf ("Enum_Loc: %d\n", Enum_Loc); printf (" should be: %d\n", (int)1); - printf ("Str_1_Loc: %s\n", Str_1_Loc); + printf ("Str_1_Loc: %s\n", (char _generic *)Str_1_Loc); printf (" should be: DHRYSTONE PROGRAM, 1'ST STRING\n"); - printf ("Str_2_Loc: %s\n", Str_2_Loc); + printf ("Str_2_Loc: %s\n", (char _generic *)Str_2_Loc); printf (" should be: DHRYSTONE PROGRAM, 2'ND STRING\n"); printf ("\n"); #endif