summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 13:53:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 13:53:02 +0000
commit352332193c1146a2e82a891d7b72136acc1bee5d (patch)
treeb8bd9bbddc95b9657811b3790225edeb7d3eff8e /cpukit/libnetworking
parent2006-08-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-352332193c1146a2e82a891d7b72136acc1bee5d.tar.bz2
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c, libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c, libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf format warnings.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/libc/res_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/libc/res_debug.c b/cpukit/libnetworking/libc/res_debug.c
index 8d41fa818d..4ea4aec144 100644
--- a/cpukit/libnetworking/libc/res_debug.c
+++ b/cpukit/libnetworking/libc/res_debug.c
@@ -534,7 +534,7 @@ p_time(u_int32_t value) {
static char nbuf[40];
if (ns_format_ttl(value, nbuf, sizeof nbuf) < 0)
- sprintf(nbuf, "%" PRIu32, value);
+ sprintf(nbuf, "%" PRIu32, (uint32_t) value);
return (nbuf);
}