diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-05-07 12:16:53 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-05-07 12:16:53 +0100 |
commit | c53b7e891a9a481d6237f85962cbc1d634061562 (patch) | |
tree | 5a99bb0109eed82dcf559fbb0e4e7a4c84e3aef0 /NEWS | |
parent | 8779549de990ea6aa8bc246e15af4e4f01f88bea (diff) |
axutils.c: Fix warning.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax
25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -g -O2 -Wall -MT axutils.lo
-MD -MP -MF .deps/axutils.Tpo -c axutils.c -fPIC -DPIC -o .libs/axutils.o
axutils.c: In function 'rose_aton':
axutils.c:169:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
printf("axutils: invalid rose address '%s' length = %d\n", addr, strlen(addr));
^
Fixed by using a %z conversion which is a construct introduced for C99.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions