diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-06-07 00:48:31 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-07 00:55:46 +0200 |
commit | 72b2e2f6ff12913a0e7b567453ebdf8e3d2e1fc4 (patch) | |
tree | 310697742075153f0af1e1569a4b97d62a095f11 /ax25/axctl.c | |
parent | eabf95c2c7476f4f75238bb8cd93bb01dde8b298 (diff) |
netrom/nrsdrv.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 nrsdrv.o -MD -MP -MF .deps/nrsdrv.Tpo -c -o nrsdrv.o nrsdrv.c
nrsdrv.c: In function ‘main’:
nrsdrv.c:438:15: warning: pointer targets in passing argument 1 of ‘kiss_unesc’ differ in signedness [-Wpointer-sign]
kiss_unesc(buffer, n);
^
nrsdrv.c:246:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’
static void kiss_unesc(unsigned char *buffer, int len)
^
nrsdrv.c:449:14: warning: pointer targets in passing argument 1 of ‘nrs_unesc’ differ in signedness [-Wpointer-sign]
nrs_unesc(buffer, n);
^
nrsdrv.c:192:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’
static void nrs_unesc(unsigned char *buffer, int len)
^
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/axctl.c')
0 files changed, 0 insertions, 0 deletions