diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-06-07 00:38:00 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-07 00:40:35 +0200 |
commit | afd661641953ca080e51d2a0dcbf02da052f7ffa (patch) | |
tree | f2a97b6e043966e246dbed29f740d3abaef614b6 /ax25/axgetput/util.c | |
parent | 49009539791c7a888d93d062ee41e5ce7d65e8fe (diff) |
ax25/axwrapper.c: Fix signedness compiler warnings.
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -g -O2 -Wall -MT axwrapper.o -MD -MP -MF .deps/axwrapper.Tpo -c -o axwrapper.o axwrapper.c
axwrapper.c: In function ‘main’:
axwrapper.c:105:17: warning: pointer targets in passing argument 2 of ‘setvbuf’ differ in signedness [-Wpointer-sign]
setvbuf(stdout, stdoutbuf, _IOFBF, paclen);
^
In file included from axwrapper.c:36:0:
/usr/include/stdio.h:336:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
^
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/axgetput/util.c')
0 files changed, 0 insertions, 0 deletions