summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 13:18:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 13:18:40 +0000
commit48b1e29a7dc74c6cb1d3e33103b8c09e63c10015 (patch)
treec580b022418af39de9ff70c2ad2c578014f94a15 /cpukit/libnetworking/net
parent2006-08-29 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-48b1e29a7dc74c6cb1d3e33103b8c09e63c10015.tar.bz2
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/utsname.c, libnetworking/libc/res_debug.c, libnetworking/net/if_media.h, libnetworking/rtems/rtems_mii_ioctl.c, librpc/src/rpc/svc_simple.c: Remove printf format warnings.
Diffstat (limited to 'cpukit/libnetworking/net')
-rw-r--r--cpukit/libnetworking/net/if_media.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/net/if_media.h b/cpukit/libnetworking/net/if_media.h
index e52c89c021..6d7f14b713 100644
--- a/cpukit/libnetworking/net/if_media.h
+++ b/cpukit/libnetworking/net/if_media.h
@@ -272,7 +272,7 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr,
* Macro to create a media word.
*/
#define IFM_MAKEWORD(type, subtype, options, instance) \
- ((type) | (subtype) | (options) | ((instance) << IFM_ISHIFT))
+ ((type) | (subtype) | (options) | ((uint32_t)(instance) << IFM_ISHIFT))
#define IFM_MAKEMODE(mode) \
(((mode) << IFM_MSHIFT) & IFM_MMASK)