summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-15 19:40:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-15 19:40:34 +0000
commita3726b15ecd3a1807fabf7c246333c000e938d71 (patch)
tree55758ccaa8e618eea25821d8248caa79416fcf98
parent667c8a00232d24cd77ad733ed8958cdb182b3323 (diff)
downloadrtems-a3726b15ecd3a1807fabf7c246333c000e938d71.tar.bz2
Fixing warning obtained by some users.
Diffstat (limited to '')
-rw-r--r--c/src/exec/libcsupport/src/printk.c4
-rw-r--r--c/src/lib/libc/printk.c4
-rw-r--r--cpukit/libcsupport/src/printk.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/printk.c b/c/src/exec/libcsupport/src/printk.c
index 253e5f1abc..52f9363fb6 100644
--- a/c/src/exec/libcsupport/src/printk.c
+++ b/c/src/exec/libcsupport/src/printk.c
@@ -117,11 +117,15 @@ printk(char *fmt, ...)
BSP_output_char(*str);
break;
case 'c':
+#if 0
#if defined(_TMS320C3x) || defined(_TMS320C4x)
BSP_output_char(va_arg(ap, int));
#else
BSP_output_char(va_arg(ap, char));
#endif
+#else
+ BSP_output_char(va_arg(ap, int));
+#endif
break;
default:
BSP_output_char(c);
diff --git a/c/src/lib/libc/printk.c b/c/src/lib/libc/printk.c
index 253e5f1abc..52f9363fb6 100644
--- a/c/src/lib/libc/printk.c
+++ b/c/src/lib/libc/printk.c
@@ -117,11 +117,15 @@ printk(char *fmt, ...)
BSP_output_char(*str);
break;
case 'c':
+#if 0
#if defined(_TMS320C3x) || defined(_TMS320C4x)
BSP_output_char(va_arg(ap, int));
#else
BSP_output_char(va_arg(ap, char));
#endif
+#else
+ BSP_output_char(va_arg(ap, int));
+#endif
break;
default:
BSP_output_char(c);
diff --git a/cpukit/libcsupport/src/printk.c b/cpukit/libcsupport/src/printk.c
index 253e5f1abc..52f9363fb6 100644
--- a/cpukit/libcsupport/src/printk.c
+++ b/cpukit/libcsupport/src/printk.c
@@ -117,11 +117,15 @@ printk(char *fmt, ...)
BSP_output_char(*str);
break;
case 'c':
+#if 0
#if defined(_TMS320C3x) || defined(_TMS320C4x)
BSP_output_char(va_arg(ap, int));
#else
BSP_output_char(va_arg(ap, char));
#endif
+#else
+ BSP_output_char(va_arg(ap, int));
+#endif
break;
default:
BSP_output_char(c);