diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-20 19:20:46 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-11-20 19:46:38 -0500 |
commit | 97b31ceedcfc909b4e8479ad8f7ea4f47fb5336d (patch) | |
tree | 1ed94abdc62534569932aba970797d0d41bfdc50 /lib/irda.c | |
parent | get_sname: avoid buffer overflows if proto name is too long (diff) | |
download | net-tools-97b31ceedcfc909b4e8479ad8f7ea4f47fb5336d.tar.gz net-tools-97b31ceedcfc909b4e8479ad8f7ea4f47fb5336d.tar.bz2 net-tools-97b31ceedcfc909b4e8479ad8f7ea4f47fb5336d.zip |
clean up const/unsigned pointers with aftype/hwtype structs
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib/irda.c')
-rw-r--r-- | lib/irda.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ * Print hardware address of interface * */ -static char *irda_print(unsigned char *ptr) +static const char *irda_print(const char *ptr) { static char buff[12]; |