diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-06-07 00:44:15 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-07 00:44:15 +0200 |
commit | 90c54bbf3d46d723e6898d2ac26244146d0e1d42 (patch) | |
tree | e35f32dafa3864bb4d2f9f15e9ab2780a6a5a81e /hdlcutil/fl/xfsmmixer_main.cxx | |
parent | 37a794b96394e50151ed89e8992c2bfc9a049781 (diff) |
hdlcutil/usersmdiag.h: 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 hdrvcomm.o -MD -MP -MF .deps/hdrvcomm.Tpo -c -o hdrvcomm.o hdrvcomm.c
hdrvcomm.c: In function ‘hdrvc_get_driver_name’:
hdrvcomm.c:677:1: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign]
strncpy(buf, msg.data.by, ret);
^
hdrvcomm.c:677:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
hdrvcomm.c: In function ‘hdrvc_get_mode_name’:
hdrvcomm.c:712:1: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign]
strncpy(buf, msg.data.by, ret);
^
hdrvcomm.c:712:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/fl/xfsmmixer_main.cxx')
0 files changed, 0 insertions, 0 deletions