diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-06-08 00:38:24 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-08 01:31:26 +0200 |
commit | 001a25a187939970830264fd9da30c087c7e9269 (patch) | |
tree | 40e0b39334f5efe484b87fe0191b51803117d43e /ax25rtd/TODO.ax25rtd | |
parent | b17dea93bf9a89b652bf155445889f9736ed2798 (diff) |
ax25ipd/process.c: Fix signedness compiler warnings.
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -DUSE_TERMIO -g -O2 -
Wall -MT process.o -MD -MP -MF .deps/process.Tpo -c -o process.o process.c
process.c: In function ‘do_beacon’:
process.c:235:10: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(p, bc_text); /* add the text field */
^
In file included from /usr/include/memory.h:29:0,
from ax25ipd.h:52,
from process.c:15:
/usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25rtd/TODO.ax25rtd')
0 files changed, 0 insertions, 0 deletions