<86>Oct 30 08:55:44 userdel[2392473]: delete user 'rooter' <86>Oct 30 08:55:44 userdel[2392473]: removed group 'rooter' owned by 'rooter' <86>Oct 30 08:55:44 userdel[2392473]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 30 08:55:44 groupadd[2392478]: group added to /etc/group: name=rooter, GID=555 <86>Oct 30 08:55:44 groupadd[2392478]: group added to /etc/gshadow: name=rooter <86>Oct 30 08:55:44 groupadd[2392478]: new group: name=rooter, GID=555 <86>Oct 30 08:55:44 useradd[2392482]: new user: name=rooter, UID=555, GID=555, home=/root, shell=/bin/bash <86>Oct 30 08:55:44 userdel[2392489]: delete user 'builder' <86>Oct 30 08:55:44 userdel[2392489]: removed group 'builder' owned by 'builder' <86>Oct 30 08:55:44 userdel[2392489]: removed shadow group 'builder' owned by 'builder' <86>Oct 30 08:55:44 groupadd[2392494]: group added to /etc/group: name=builder, GID=556 <86>Oct 30 08:55:44 groupadd[2392494]: group added to /etc/gshadow: name=builder <86>Oct 30 08:55:44 groupadd[2392494]: new group: name=builder, GID=556 <86>Oct 30 08:55:44 useradd[2392498]: new user: name=builder, UID=556, GID=556, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/mars_nwe-0.99-alt5.src.rpm: The use of such a license name is ambiguous: GPL warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Oct 30 08:55:46 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Oct 30 08:55:46 rpmi: libgdbm-devel-1.8.3-alt10 1454943334 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/mars_nwe-0.99-alt5.nosrc.rpm Installing mars_nwe-0.99-alt5.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97883 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mars_nwe + echo 'Source #0 (mars_nwe-0.99.pl21.tar.bz2):' Source #0 (mars_nwe-0.99.pl21.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl21.tar.bz2 + /bin/tar -xf - + cd mars_nwe + /bin/chmod -c -Rf u+rwX,go-w . mode of './COPYING' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + echo 'Patch #0 (mars_nwe-0.99pl21-tools.patch.gz):' Patch #0 (mars_nwe-0.99pl21-tools.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mars_nwe-0.99pl21-tools.patch.gz + /usr/bin/patch -p1 patching file tools.h + echo 'Patch #1 (mars_nwe-glibc21.patch.bz2):' Patch #1 (mars_nwe-glibc21.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-glibc21.patch.bz2 + /usr/bin/patch -p1 patching file emutli1.c + echo 'Patch #2 (mars_nwe-0.99.pl19-buffer.patch.bz2):' Patch #2 (mars_nwe-0.99.pl19-buffer.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl19-buffer.patch.bz2 + /usr/bin/patch -p1 patching file connect.c Hunk #1 succeeded at 824 (offset 45 lines). Hunk #2 succeeded at 885 (offset 45 lines). Hunk #3 succeeded at 1927 (offset 45 lines). patching file nameos2.c patching file namspace.c patching file nwattrib.c patching file nwbind.c Hunk #1 succeeded at 677 (offset 10 lines). patching file nwdbm.c patching file nwfile.c patching file nwqconn.c patching file nwserv.c Hunk #2 succeeded at 1290 (offset 3 lines). patching file nwvolume.c Hunk #1 succeeded at 156 (offset 12 lines). patching file unxfile.c Hunk #1 succeeded at 125 (offset 20 lines). patching file nameos2.h + echo 'Patch #3 (mars_nwe-0.99.pl20-emutli1.patch.gz):' Patch #3 (mars_nwe-0.99.pl20-emutli1.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl20-emutli1.patch.gz + /usr/bin/patch -p1 patching file emutli1.c Hunk #1 succeeded at 339 (offset -1 lines). + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-mk.li.gz + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-mk.li.gz + chmod 755 mk.li + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-config.h.in.gz + sed -e s/@MAX_CONNECTIONS@/16/ -e s/@MAX_FILES@/256/ -e 's|@PATHNAME_BINDERY@|/var/lib/mars_nwe/bd|' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.54840 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mars_nwe + make -j8 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0' make: Entering directory '/usr/src/RPM/BUILD/mars_nwe' make[1]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' rm -f Makefile.o cp ../makefile.unx makefile.c cpp -traditional -DLINUX -DUSE_GDBM -I.. makefile.c > Makefile.o rm -f makefile.c make -f Makefile.o n_all make[2]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwserv.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwserv.c:21: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwserv.c: In function 'response_ipx_diag': ../nwserv.c:637:58: warning: pointer targets in passing argument 3 of 'read_interface_data' differ in signedness [-Wpointer-sign] 637 | fframe = read_interface_data((uint8*) buff, &rnet, node, &flags, dname); | ^~~~ | | | char * In file included from ../net.h:70, from ../nwserv.c:21: ../emutli1.h:25:66: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern int read_interface_data(uint8* data, uint32 *rnet, uint8 *node, | ~~~~~~~^~~~ ../nwserv.c: In function 'get_ini': ../nwserv.c:866:30: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 866 | upstr(inhalt); | ^~~~~~ | | | char * In file included from ../net.h:487, from ../nwserv.c:21: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwserv.c:909:45: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 909 | new_str(nd->devname, "eth0"); | ^~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwserv.c:920:47: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 920 | new_str(nd->devname, inhalt2); | ^~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwserv.c:923:32: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 923 | upstr(inhalt3); | ^~~~~~~ | | | char * In file included from ../net.h:487, from ../nwserv.c:21: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwserv.c: In function 'main': ../nwserv.c:1294:21: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 1294 | upstr(buf); | ^~~ | | | char * In file included from ../net.h:487, from ../nwserv.c:21: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ In file included from ../net.h:69, from ../nwserv.c:21: ../nwserv.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../emutli.c:23: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../emutli.c: In function 't_bind': ../emutli.c:163:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 163 | if (getsockname(sock, (struct sockaddr*)&ipxs, &maxplen) == -1){ | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../emutli.c: In function 't_rcvudata': ../emutli.c:273:53: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 273 | (struct sockaddr *) &ipxs, &sz); | ^~~ | | | int * In file included from /usr/include/netinet/in.h:23, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/sys/socket.h:165:27: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 165 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../net1.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../net1.c:20: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../net1.c:20: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../tools.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../tools.c:20: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../tools.c: In function 'get_debstr': ../tools.c:84:20: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 84 | strmaxcpy(debuf+l, get_modstr(), 3); | ~~~~~^~ | | | char * In file included from ../net.h:487, from ../tools.c:20: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../tools.c:84:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 84 | strmaxcpy(debuf+l, get_modstr(), 3); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../tools.c:20: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../tools.c: In function 'get_div_pathes': ../config.h:17:27: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 17 | # define PATHNAME_BINDERY "/var/lib/mars_nwe/bd" /* directory for bindery-files */ | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.c:362:41: note: in expansion of macro 'PATHNAME_BINDERY' 362 | new_str(path_bindery, PATHNAME_BINDERY); | ^~~~~~~~~~~~~~~~ ../tools.c:140:36: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 140 | int x_x_xnewstr(uint8 **p, uint8 *s) | ~~~~~~~^ ../tools.c:364:21: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 364 | wpath = path_bindery; | ^ In file included from ../net.h:487, from ../tools.c:20: ../tools.c:374:39: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 374 | new_str(path_spool, "/var/spool/nwserv"); | ^~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.c:140:36: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 140 | int x_x_xnewstr(uint8 **p, uint8 *s) | ~~~~~~~^ ../tools.c:376:21: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 376 | wpath = path_spool; | ^ In file included from ../net.h:69, from ../tools.c:20: ../tools.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli1.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../emutli1.c: In function 'read_interface_data': ../emutli1.c:81:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 81 | if (sscanf(data, "%lx %s %s %s %s", | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../emutli1.c:30: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ../emutli1.c:83:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 83 | int len = strlen(buff4); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 100 | if (!strcmp(buff2, "YES")) /* primary */ | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 105 | if (!strcmp(buff3, "INTERNAL")) /* internal net */ | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../emutli1.c: In function 'get_interface_frame_name': ../emutli1.c:124:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 124 | if (name) strcpy(name, dname); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../emutli1.c: In function 'del_special_net': ../emutli1.c:165:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 165 | strcpy(id.ifr_name, name); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../emutli1.c: In function 'del_all_interfaces_nets': ../emutli1.c:207:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 207 | strcpy(id.ifr_name, name); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../emutli1.c: In function 'get_frame_name': ../emutli1.c:280:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 280 | strcpy(framename, frname); | ^~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../emutli1.c: In function 'init_ipx': ../emutli1.c:362:54: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 362 | if (getsockname(sock, (struct sockaddr*)&ipxs, &maxplen) != -1) | ^~~~~~~~ | | | int * In file included from ../emutli1.c:34: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../net.h:69, from ../emutli1.c:39: ../emutli1.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwroute.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwroute.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwroute.c: In function 'insert_delete_server': ../nwroute.c:223:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 223 | !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { | ~~~~~~~~~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 223 | !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwroute.c: In function 'init_rip_buff': ../nwroute.c:308:13: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 308 | rip_buff=xcmalloc(2+max_rip_entries*8); | ^ ../nwroute.c: In function 'ins_rip_buff': ../nwroute.c:320:25: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 320 | uint8 *new_ripbuf=xcmalloc(2 + new_rip_entries*8); | ^~~~~~~~ ../nwroute.c: In function 'send_sap_to_addr': ../nwroute.c:497:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 497 | strcpy((char*)ipx_data.sip.server_name, nw->name); | ~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwroute.c: In function 'print_routing_info': ../nwroute.c:693:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 693 | strmaxcpy(sname, ns->name, 20); | ^~~~~ | | | char * In file included from ../net.h:487, from ../nwroute.c:19: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwroute.c: In function 'test_ins_device_net': ../nwroute.c:822:43: warning: pointer targets in passing argument 1 of 'get_interface_frame_name' differ in signedness [-Wpointer-sign] 822 | if ((rnetframe=get_interface_frame_name(rnetdevname, rnet)) < 0) | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:70, from ../nwroute.c:19: ../emutli1.h:28:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 28 | extern int get_interface_frame_name(char *name, uint32 net); | ~~~~~~^~~~ ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 833 | int dfound = !strcmp(nd->devname, rnetdevname); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 868 | int dfound = !strcmp(nd->devname, rnetdevname); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from ../net.h:487, from ../nwroute.c:19: ../nwroute.c: In function 'look_for_interfaces': ../nwroute.c:965:32: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 965 | new_str(nd->devname, "*"); | ^~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ In file included from ../net.h:69, from ../nwroute.c:19: ../nwroute.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../nwserv nwserv.o emutli.o net1.o tools.o emutli1.o nwroute.o -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwconn.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwconn.c:28: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwconn.c: In function 'nwconn_set_program_title': ../nwconn.c:128:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 128 | strmaxcpy(prog_title, s, 48); | ^~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwconn.c:28: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwconn.c:128:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 128 | strmaxcpy(prog_title, s, 48); | ^ | | | char * In file included from ../net.h:487, from ../nwconn.c:28: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwconn.c: In function 'handle_ncp_serv': ../nwconn.c:333:38: warning: pointer targets in passing argument 5 of 'nw_log_file' differ in signedness [-Wpointer-sign] 333 | input->path); | ~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwconn.c:42: ../connect.h:288:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 288 | char *data); | ~~~~~~^~~~ ../nwconn.c:359:41: warning: pointer targets in passing argument 5 of 'nw_log_file' differ in signedness [-Wpointer-sign] 359 | input->path); | ~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwconn.c:42: ../connect.h:288:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 288 | char *data); | ~~~~~~^~~~ In file included from ../net.h:69, from ../nwconn.c:28: ../nwconn.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../connect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'build_unix_name': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:124:5: note: in expansion of macro 'xstrcpy' 124 | xstrcpy(unixname, "Z/Z/Z/Z"); /* */ | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:124:5: note: in expansion of macro 'xstrcpy' 124 | xstrcpy(unixname, "Z/Z/Z/Z"); /* */ | ^~~~~~~ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:131:18: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 131 | p += strmaxcpy(p, (char*)nwpath->path, sizeof(unixname) - nw_volumes[volume].unixnamlen -1); /* now the path */ | ^ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:131:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 131 | p += strmaxcpy(p, (char*)nwpath->path, sizeof(unixname) - nw_volumes[volume].unixnamlen -1); /* now the path */ | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:134:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 134 | strmaxcpy(p, (char*)nwpath->fn, sizeof(unixname) - (int)(p-unixname) -1); /* and now fn */ | ^ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:134:18: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 134 | strmaxcpy(p, (char*)nwpath->fn, sizeof(unixname) - (int)(p-unixname) -1); /* and now fn */ | ^~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:142:19: warning: pointer targets in passing argument 1 of 'dos2unixcharset' differ in signedness [-Wpointer-sign] 142 | dos2unixcharset(unixname); | ^~~~~~~~ | | | char * In file included from ../connect.c:53: ../nwfname.h:11:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 11 | extern uint8 *dos2unixcharset(uint8 *ss); | ^~~~~~~~~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'new_dir_handle': ../connect.c:191:40: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 191 | dh->kpath = dh->unixname + xstrcpy(dh->unixname, build_unix_name(nwpath, 0)); ../tools.h:39:37: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:191:52: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 191 | dh->kpath = dh->unixname + xstrcpy(dh->unixname, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:197:74: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 197 | if ( ( !(dh->no_search_trustee=tru_eff_rights_exists(nwpath->volume, dh->unixname, stb, TRUSTEE_F))) | ~~^~~~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ ../connect.c: In function 'get_unix_access_rights': ../connect.c:346:15: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 346 | if (!access(unixname, F_OK)) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:348:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 348 | if (!access(unixname, R_OK)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:350:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 350 | if (!access(unixname, W_OK)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:353:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 353 | if (!access(unixname, X_OK)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c: In function 'set_nw_user': ../connect.c:414:28: warning: pointer targets in passing argument 1 of 'nwconn_set_program_title' differ in signedness [-Wpointer-sign] 414 | nwconn_set_program_title(objname); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:59: ../nwconn.h:5:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 5 | extern void nwconn_set_program_title(char *s); | ~~~~~~^ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'conn_get_nwpath_name': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:446:10: note: in expansion of macro 'xstrcpy' 446 | } else xstrcpy(volname, (char*)nw_volumes[p->volume].sysname); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:446:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 446 | } else xstrcpy(volname, (char*)nw_volumes[p->volume].sysname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'func_search_entry': ../connect.c:574:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 574 | xstrcpy(entry, (char*)nwpath->fn); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:577:3: note: in expansion of macro 'xstrcpy' 577 | xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:577:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 577 | xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:583:39: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 583 | && !tru_eff_rights_exists(volume, xkpath, &(fs->statb), TRUSTEE_F)) { | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ ../connect.c:606:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 606 | strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1 ); | ^~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:606:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 606 | strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1 ); | ^~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:611:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 611 | xstrcpy(nwpath->fn, (char*)dname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'get_dir_entry': ../connect.c:646:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 646 | xstrcpy(entry, (char*)nwpath->fn); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:648:3: note: in expansion of macro 'xstrcpy' 648 | xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:648:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 648 | xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:653:63: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 653 | && ( (!(no_search_trustee = tru_eff_rights_exists(volume, xkpath, statb, TRUSTEE_F))) | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ ../connect.c:687:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 687 | strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1); | ^~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:687:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 687 | strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1); | ^~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:694:50: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 694 | !tru_eff_rights_exists(volume, xkpath, statb, TRUSTEE_T)) { | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c:699:37: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 699 | xstrcpy(nwpath->fn, (char*)dname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'get_dh_entry': ../connect.c:790:23: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 790 | strmaxcpy(dh->kpath, (char*)name, | ~~^~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:790:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 790 | strmaxcpy(dh->kpath, (char*)name, | ^~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:801:55: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 801 | && tru_eff_rights_exists(dh->volume, dh->unixname, statb, TRUSTEE_T)) | ~~^~~~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ ../connect.c:806:27: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 806 | strmaxcpy(unixname, dh->unixname, size_unixname-1); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:806:39: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 806 | strmaxcpy(unixname, dh->unixname, size_unixname-1); | ~~^~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:807:25: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 807 | strmaxcpy((char*)search, (char*)dname, size_search-1); | ^~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:807:40: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 807 | strmaxcpy((char*)search, (char*)dname, size_search-1); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'conn_build_path_fn': ../connect.c:860:18: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 860 | strmaxcpy((char*)fn, (char*)p, 255); | ^~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:860:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 860 | strmaxcpy((char*)fn, (char*)p, 255); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:863:18: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 863 | strmaxcpy((char*)fn, (char*)path, 255); | ^~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:863:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 863 | strmaxcpy((char*)fn, (char*)path, 255); | ^~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'build_path': ../connect.c:885:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 885 | (only_dir) ? (uint8)NULL | ^ ../connect.c:886:33: warning: pointer/integer type mismatch in conditional expression 886 | : path->fn, | ^ ../connect.c: In function 'nw_path_directory_is_ok': ../connect.c:921:15: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 921 | char *p=nwpath->path; | ^~~~~~ ../connect.c:924:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 924 | strmaxcpy(pp, p, 6); | ^~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:924:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 924 | strmaxcpy(pp, p, 6); | ^ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:925:13: warning: pointer targets in passing argument 1 of 'up_fn' differ in signedness [-Wpointer-sign] 925 | up_fn(pp); | ^~ | | | char * In file included from ../connect.c:53: ../nwfname.h:9:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 9 | extern uint8 *up_fn(uint8 *ss); | ^~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'build_dir_name': ../connect.c:951:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 951 | xstrcpy(searchpath, (char*)ppp); /* save path */ ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:964:20: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 964 | strmaxcpy((char*)ppp, (char*)dirs[dir_handle].path, | ^~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:964:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 964 | strmaxcpy((char*)ppp, (char*)dirs[dir_handle].path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:967:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 967 | ppp += strlen(ppp); | ^~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../connect.c:1044:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1044 | int pathlen = strlen(nwpath->path); | ~~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../connect.c:1045:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1045 | int fnlen = strlen(nwpath->fn); | ~~~~~~^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../connect.c: In function 'conn_get_full_path': ../connect.c:1093:24: warning: pointer targets in passing argument 1 of 'slprintf' differ in signedness [-Wpointer-sign] 1093 | int len = slprintf(fullpath, size_fullpath-1, "%s:%s", | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../connect.c:25: ../tools.h:92:27: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 92 | extern int slprintf(char *buf, int bufsize, char *p, ...); | ~~~~~~^~~ ../connect.c:1100:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1100 | result = len + strlen(nwpath.fn); | ~~~~~~^~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../connect.c: In function 'conn_get_kpl_unxname': ../connect.c:1123:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1123 | strmaxcpy(unixname, build_unix_name(&nwpath, 0), size_unixname-1); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1123:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1123 | strmaxcpy(unixname, build_unix_name(&nwpath, 0), size_unixname-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'do_delete_file': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1226:3: note: in expansion of macro 'xstrcpy' 1226 | xstrcpy(unname, build_unix_name(nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1226:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1226 | xstrcpy(unname, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1228:41: warning: pointer targets in passing argument 2 of 'nw_unlink_node' differ in signedness [-Wpointer-sign] 1228 | return(nw_unlink_node(nwpath->volume, unname, &(fs->statb))); | ^~~~~~ | | | char * In file included from ../connect.c:61: ../connect.h:124:46: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 124 | extern int nw_unlink_node(int volume, uint8 *unname, struct stat *stb); | ~~~~~~~^~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'do_mv_file': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1259:3: note: in expansion of macro 'xstrcpy' 1259 | xstrcpy(unsource, build_unix_name(nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1259:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1259 | xstrcpy(unsource, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1262:44: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 1262 | tru_eff_rights_exists(nwpath->volume, unsource, &statb, | ^~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ ../connect.c:1276:23: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 1276 | uint8 *otopath = saved_fn; | ^~~~~~~~ ../connect.c:1280:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1280 | strmaxcpy(saved_fn, nws->destpath.fn, sizeof(saved_fn)-1); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../connect.c:25: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1314:5: note: in expansion of macro 'xstrcpy' 1314 | xstrcpy(undest, build_unix_name(&nws->destpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1314:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1314 | xstrcpy(undest, build_unix_name(&nws->destpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1316:5: note: in expansion of macro 'xstrcpy' 1316 | xstrcpy(nws->destpath.fn, saved_fn); | ^~~~~~~ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1320:34: warning: pointer targets in passing argument 1 of 'unx_mvfile_or_dir' differ in signedness [-Wpointer-sign] 1320 | result = unx_mvfile_or_dir(unsource, undest); | ^~~~~~~~ | | | char * In file included from ../connect.c:26: ../unxfile.h:22:37: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern int unx_mvfile_or_dir(uint8 *oldname, uint8 *newname); | ~~~~~~~^~~~~~~ ../connect.c:1320:44: warning: pointer targets in passing argument 2 of 'unx_mvfile_or_dir' differ in signedness [-Wpointer-sign] 1320 | result = unx_mvfile_or_dir(unsource, undest); | ^~~~~~ | | | char * In file included from ../connect.c:26: ../unxfile.h:22:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern int unx_mvfile_or_dir(uint8 *oldname, uint8 *newname); | ~~~~~~~^~~~~~~ ../connect.c:1322:27: warning: pointer targets in passing argument 1 of 'unx_mvfile' differ in signedness [-Wpointer-sign] 1322 | result = unx_mvfile(unsource, undest); | ^~~~~~~~ | | | char * In file included from ../connect.c:26: ../unxfile.h:21:30: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 21 | extern int unx_mvfile(uint8 *oldname, uint8 *newname); | ~~~~~~~^~~~~~~ ../connect.c:1322:37: warning: pointer targets in passing argument 2 of 'unx_mvfile' differ in signedness [-Wpointer-sign] 1322 | result = unx_mvfile(unsource, undest); | ^~~~~~ | | | char * In file included from ../connect.c:26: ../unxfile.h:21:46: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 21 | extern int unx_mvfile(uint8 *oldname, uint8 *newname); | ~~~~~~~^~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_mv_files': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1352:7: note: in expansion of macro 'xstrcpy' 1352 | xstrcpy(destpath, build_unix_name(&mvs.destpath, 1)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1352:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1352 | xstrcpy(destpath, build_unix_name(&mvs.destpath, 1)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1353:54: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 1353 | if (tru_eff_rights_exists(mvs.destpath.volume, destpath, | ^~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'do_set_file_info': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1487:3: note: in expansion of macro 'xstrcpy' 1487 | xstrcpy(unname, build_unix_name(nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1487:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1487 | xstrcpy(unname, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1491:47: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 1491 | if (tru_eff_rights_exists(nwpath->volume, unname, &statb, TRUSTEE_M)) | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_set_file_attributes': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1570:3: note: in expansion of macro 'xstrcpy' 1570 | xstrcpy(unname, build_unix_name(&nwpath, 2)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1570:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1570 | xstrcpy(unname, build_unix_name(&nwpath, 2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'nw_rmdir': ../connect.c:1582:13: warning: pointer targets in passing argument 1 of 'rmdir' differ in signedness [-Wpointer-sign] 1582 | if (rmdir(unname)) { | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:834:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 834 | extern int rmdir (const char *__path) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c: In function 'nw_unlink_node': ../connect.c:1592:45: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] 1592 | uint32 attrib=get_nw_attrib_dword(volume, unname, stb); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:56: ../nwattrib.h:18:53: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 18 | extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); | ~~~~~~^~~~~~~~ ../connect.c:1616:29: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 1616 | if (0 != (result=unlink(unname))){ | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:1618:21: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 1618 | result=unlink(unname) ? -0x8a : 0; | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:1623:31: warning: pointer targets in passing argument 2 of 'free_nw_ext_inode' differ in signedness [-Wpointer-sign] 1623 | free_nw_ext_inode(volume, unname, stb->st_dev, stb->st_ino); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:56: ../nwattrib.h:25:51: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 25 | extern void free_nw_ext_inode(int volume, char *unixname, int dev, ino_t inode); | ~~~~~~^~~~~~~~ ../connect.c: In function 'nw_creat_node': ../connect.c:1637:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1637 | uint8 *p=path+strlen(unname); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../connect.c:1642:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1642 | if (stat(path, &stb)) return(-0x9c); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../connect.c:1646:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1646 | if (stat(path, &stb)) return(-0x9c); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../connect.c:1653:20: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 1653 | result=mkdir(unname, 0777); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../connect.c:25: /usr/include/sys/stat.h:317:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 317 | extern int mkdir (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../connect.c:1656:30: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 1656 | if (0==(result=mkdir(unname, 0755))) | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../connect.c:25: /usr/include/sys/stat.h:317:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 317 | extern int mkdir (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../connect.c:1657:17: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 1657 | chown(unname, act_uid, act_gid); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../connect.c:1669:15: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 1669 | chmod(unname, umode_dir); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../connect.c:25: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../connect.c:1680:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1680 | exist=stat(unname, &stbuff) ? 0 : 1; | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../connect.c:1685:41: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] 1685 | if (get_nw_attrib_dword(volume, unname, &stbuff) & FILE_ATTR_R) | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:56: ../nwattrib.h:18:53: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 18 | extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); | ~~~~~~^~~~~~~~ ../connect.c:1696:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1696 | if (0 > (fd=open(unname, O_CREAT|O_TRUNC|O_RDWR, 0666))) { | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:195:30: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 195 | extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:1698:27: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1698 | if (-1 < (fd=open(unname, O_CREAT|O_TRUNC|O_RDWR, 0600))) | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:195:30: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 195 | extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:1699:17: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 1699 | chown(unname, act_uid, act_gid); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../connect.c:1703:27: warning: pointer targets in passing argument 1 of 'creat' differ in signedness [-Wpointer-sign] 1703 | if (0 > (fd = creat(unname, 0777))) { | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:241:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 241 | extern int creat (const char *__file, mode_t __mode) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:1705:30: warning: pointer targets in passing argument 1 of 'creat' differ in signedness [-Wpointer-sign] 1705 | if (-1 < (fd = creat(unname, 0751))) | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:241:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 241 | extern int creat (const char *__file, mode_t __mode) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../connect.c:1706:17: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 1706 | chown(unname, act_uid, act_gid); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../connect.c:25: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../connect.c:1714:15: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 1714 | chmod(unname, umode_file); | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../connect.c:25: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../connect.c: In function 'nw_utime_node': ../connect.c:1727:16: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] 1727 | if (!utime(unname, &ut)) | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:29: /usr/include/utime.h:44:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 44 | extern int utime (const char *__file, | ~~~~~~~~~~~~^~~~~~ ../connect.c:1730:16: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] 1730 | if (!utime(unname, &ut)) { | ^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:29: /usr/include/utime.h:44:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 44 | extern int utime (const char *__file, | ~~~~~~~~~~~~^~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_mk_rd_dir': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1747:5: note: in expansion of macro 'xstrcpy' 1747 | xstrcpy(unname, build_unix_name(&nwpath, 2)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1747:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1747 | xstrcpy(unname, build_unix_name(&nwpath, 2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1749:49: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] 1749 | completition=nw_creat_node(nwpath.volume, unname, 1); | ^~~~~~ | | | char * ../connect.c:1628:38: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1628 | int nw_creat_node(int volume, uint8 *unname, int mode) | ~~~~~~~^~~~~~ ../connect.c:1752:52: warning: pointer targets in passing argument 2 of 'nw_unlink_node' differ in signedness [-Wpointer-sign] 1752 | completition=nw_unlink_node(nwpath.volume, unname, &stbuff); | ^~~~~~ | | | char * ../connect.c:1589:39: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1589 | int nw_unlink_node(int volume, uint8 *unname, struct stat *stb) | ~~~~~~~^~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'mv_dir': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1774:5: note: in expansion of macro 'xstrcpy' 1774 | xstrcpy(qfn, build_unix_name(&quellpath,0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1774:18: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1774 | xstrcpy(qfn, build_unix_name(&quellpath,0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1794:5: note: in expansion of macro 'xstrcpy' 1794 | xstrcpy(zpath, build_unix_name(&zielpath, 1)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1794:20: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1794 | xstrcpy(zpath, build_unix_name(&zielpath, 1)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1796:49: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 1796 | tru_eff_rights_exists(quellpath.volume, qfn, &qstbuff, | ^~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ ../connect.c:1800:47: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 1800 | tru_eff_rights_exists(zielpath.volume, zpath, &zstbuff, | ^~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:1807:7: note: in expansion of macro 'xstrcpy' 1807 | xstrcpy(unziel, build_unix_name(&zielpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:1807:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1807 | xstrcpy(unziel, build_unix_name(&zielpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'change_dir_entry': ../connect.c:1838:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1838 | len=strlen(path); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../connect.c:1840:14: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1840 | dir->path=xmalloc(len+2); | ^ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_init_connect': ../connect.c:1895:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1895 | xstrcpy(nwlogin.path, (char*)login); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:1931:39: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] 1931 | default_umode_dir = octtoi(buf1); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../connect.c:25: ../tools.h:61:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 61 | extern int octtoi(char *buf); | ~~~~~~^~~ ../connect.c:1932:39: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] 1932 | default_umode_file = octtoi(buf2); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../connect.c:25: ../tools.h:61:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 61 | extern int octtoi(char *buf); | ~~~~~~^~~ ../connect.c:1949:22: warning: pointer targets in passing argument 1 of 'init_nwfname' differ in signedness [-Wpointer-sign] 1949 | init_nwfname(buff); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:53: ../nwfname.h:7:32: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 7 | extern void init_nwfname(char *convfile); | ~~~~~~^~~~~~~~ ../connect.c:1951:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 1951 | namspace_max_baseh=atoi(buff); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../connect.c:1953:23: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 1953 | use_mmap=atoi(buff); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../connect.c:1955:35: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 1955 | namspace_max_searchh=atoi(buff); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_search': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2082:10: note: in expansion of macro 'xstrcpy' 2082 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2082:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2082 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'nw_dir_get_vol_path': ../connect.c:2105:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2105 | int llen = strlen(dir->path); | ~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../connect.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_alloc_dir_handle': ../connect.c:2171:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2171 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'nw_open_dir_handle': ../connect.c:2212:59: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] 2212 | completition = tru_get_eff_rights(dh->volume, dh->unixname, &stb); | ~~^~~~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:56:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 56 | extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_get_eff_dir_rights': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2312:3: note: in expansion of macro 'xstrcpy' 2312 | xstrcpy(unname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2312:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2312 | xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2317:52: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] 2317 | completition=tru_get_eff_rights(nwpath.volume, unname, &stbuff); | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:56:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 56 | extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_creat_open_file': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2335:6: note: in expansion of macro 'xstrcpy' 2335 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2335:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2335 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 's_nw_scan_dir_info': ../connect.c:2370:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2370 | xstrcpy(dirname, (char*)wild); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2393:49: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] 2393 | return(tru_get_inherited_mask(volume, unixname, &stbuff)); | ^~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:53:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 53 | extern int tru_get_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c:2395:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2395 | xstrcpy(dirname, (char*)wild); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2406:49: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] 2406 | return(tru_get_inherited_mask(volume, dh->unixname, &stbuff)); | ~~^~~~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:53:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 53 | extern int tru_get_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../connect.c:25: ../connect.c: In function 'get_dos_file_attrib': ../connect.c:2455:44: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] 2455 | U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), | ^~~~~~~~ | | | char * ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' 108 | #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ | ^ ../connect.c:2455:3: note: in expansion of macro 'U16_TO_16' 2455 | U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), | ^~~~~~~~~ In file included from ../connect.c:57: ../trustee.h:53:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 53 | extern int tru_get_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../connect.c:25: ../connect.c: In function 'get_dos_dir_attrib': ../connect.c:2483:44: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] 2483 | U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), | ^~~~~~~~ | | | char * ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' 108 | #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ | ^ ../connect.c:2483:3: note: in expansion of macro 'U16_TO_16' 2483 | U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), | ^~~~~~~~~ In file included from ../connect.c:57: ../trustee.h:53:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 53 | extern int tru_get_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_scan_a_directory': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2516:8: note: in expansion of macro 'xstrcpy' 2516 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2516:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2516 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'nw_scan_a_root_dir': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2548:5: note: in expansion of macro 'xstrcpy' 2548 | xstrcpy(unixname, build_unix_name(&nwpath, 2)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2548:23: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2548 | xstrcpy(unixname, build_unix_name(&nwpath, 2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c: In function 'nw_set_a_directory_entry': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2580:8: note: in expansion of macro 'xstrcpy' 2580 | xstrcpy(unixname,build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2580:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2580 | xstrcpy(unixname,build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2587:61: warning: pointer targets in passing argument 2 of 'tru_set_inherited_mask' differ in signedness [-Wpointer-sign] 2587 | int result=tru_set_inherited_mask(nwpath.volume, unixname, | ^~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:50:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 50 | extern int tru_set_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ ../connect.c:2594:61: warning: pointer targets in passing argument 2 of 'tru_set_inherited_mask' differ in signedness [-Wpointer-sign] 2594 | int result=tru_set_inherited_mask(nwpath.volume, unixname, | ^~~~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:50:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 50 | extern int tru_set_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ ../connect.c: In function 'get_match': ../connect.c:2650:13: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 2650 | d=opendir(unixname); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../connect.c:28: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../connect.c:2665:35: warning: pointer targets in passing argument 1 of 'my_match' differ in signedness [-Wpointer-sign] 2665 | 0 != (len=my_match(dirbuff->d_name, pp))) { | ~~~~~~~^~~~~~~~ | | | char * ../connect.c:2605:28: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 2605 | static int my_match(uint8 *s, uint8 *p) | ~~~~~~~^ In file included from ../connect.c:53: ../connect.c: In function 'mangle_dos_name': ../nwfname.h:28:8: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 28 | stat((path), (statbuf)) | ^~~~~~ | | | uint8 * {aka unsigned char *} ../connect.c:2684:8: note: in expansion of macro 's_stat' 2684 | if (!s_stat(unixname, &stb, NULL)) /* path is ok I hope */ | ^~~~~~ In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_add_trustee': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2699:3: note: in expansion of macro 'xstrcpy' 2699 | xstrcpy(unname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2699:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2699 | xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2707:47: warning: pointer targets in passing argument 2 of 'tru_add_trustee_set' differ in signedness [-Wpointer-sign] 2707 | result=tru_add_trustee_set(nwpath.volume, unname, | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:41:51: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 41 | extern int tru_add_trustee_set(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_del_trustee': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2723:3: note: in expansion of macro 'xstrcpy' 2723 | xstrcpy(unname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2723:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2723 | xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2728:43: warning: pointer targets in passing argument 2 of 'tru_del_trustee' differ in signedness [-Wpointer-sign] 2728 | result=tru_del_trustee(nwpath.volume, unname, &stbuff, id); | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:35:47: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 35 | extern int tru_del_trustee(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_set_dir_info': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2742:3: note: in expansion of macro 'xstrcpy' 2742 | xstrcpy(unname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2742:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2742 | xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2746:41: warning: pointer targets in passing argument 2 of 'nw_utime_node' differ in signedness [-Wpointer-sign] 2746 | result=nw_utime_node(nwpath.volume, unname, &stbuff, | ^~~~~~ | | | char * ../connect.c:1721:38: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1721 | int nw_utime_node(int volume, uint8 *unname, struct stat *stb, | ~~~~~~~^~~~~~ ../connect.c:2749:52: warning: pointer targets in passing argument 2 of 'tru_set_inherited_mask' differ in signedness [-Wpointer-sign] 2749 | result=tru_set_inherited_mask(nwpath.volume, unname, | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:50:54: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 50 | extern int tru_set_inherited_mask(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_scan_for_trustee': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2784:3: note: in expansion of macro 'xstrcpy' 2784 | xstrcpy(unname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2784:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2784 | xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../connect.c:2789:47: warning: pointer targets in passing argument 2 of 'tru_get_trustee_set' differ in signedness [-Wpointer-sign] 2789 | result=tru_get_trustee_set(nwpath.volume, unname, | ^~~~~~ | | | char * In file included from ../connect.c:57: ../trustee.h:45:51: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 45 | extern int tru_get_trustee_set(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ ../connect.c: In function 'nw_log_file': ../connect.c:2817:70: warning: pointer targets in passing argument 4 of 'conn_get_kpl_path' differ in signedness [-Wpointer-sign] 2817 | int completition = conn_get_kpl_path(&nwpath, &stbuff, dir_handle, data, len, 0); | ^~~~ | | | char * ../connect.c:1068:49: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1068 | int dirhandle, uint8 *data, int len, int only_dir) | ~~~~~~~^~~~ In file included from ../net.h:487, from ../connect.c:25: ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../connect.c:2820:5: note: in expansion of macro 'xstrcpy' 2820 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../connect.c:2820:23: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2820 | xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ In file included from ../net.h:69, from ../connect.c:25: ../connect.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ ../connect.c: In function 'get_dir_attrib': ../connect.c:1207:3: warning: 'strncpy' output may be truncated copying 14 bytes from a string of length 255 [-Wstringop-truncation] 1207 | strncpy((char*)d->name, (char*)nwpath->fn, sizeof(d->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'get_file_attrib': ../connect.c:1186:3: warning: 'strncpy' output may be truncated copying 14 bytes from a string of length 255 [-Wstringop-truncation] 1186 | strncpy((char*)f->name, (char*)nwpath->fn, sizeof(f->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 's_nw_scan_dir_info', inlined from 'nw_scan_dir_info' at ../connect.c:2435:10: ../connect.c:2389:11: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] 2389 | strncpy((char*)subname, (char*)dirname, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../namspace.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../namspace.c: In function 'xnwpath_2_unix': ../namspace.c:174:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 174 | int len_extra = (extra_path) ? strlen(extra_path) : 0; | ^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:215:19: warning: pointer targets in passing argument 1 of 'dos2unixcharset' differ in signedness [-Wpointer-sign] 215 | dos2unixcharset(unixname); | ^~~~~~~~ | | | char * In file included from ../namspace.c:38: ../nwfname.h:11:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 11 | extern uint8 *dos2unixcharset(uint8 *ss); | ^~~~~~~~~~~~~~~ ../namspace.c: In function 'debug_nwpath_name': ../namspace.c:239:37: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 239 | if (nw_get_volume_name(p->volume, volname, sizeof(volname)) < 1) | ^~~~~~~ | | | char * In file included from ../namspace.c:39: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../namspace.c:241:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 241 | len = strlen(volname) + strlen(p->path) + strlen(p->fn) + 40; | ~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:241:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 241 | len = strlen(volname) + strlen(p->path) + strlen(p->fn) + 40; | ~^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c: In function 'nwp_stat': ../namspace.c:226:4: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 226 | xnwpath_2_unix((nwpath), (modus), 1, NULL) | ^~~~~~~~~~~~~~ ../namspace.c:256:16: note: in expansion of macro 'alloc_nwpath2unix' 256 | uint8 *uname=alloc_nwpath2unix(nwpath, 2); | ^~~~~~~~~~~~~~~~~ ../namspace.c:257:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 257 | int result=stat(uname, &(nwpath->statb)); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../namspace.c:261:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 261 | result = stat(uname, &(nwpath->statb)); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../namspace.c: In function 'put_dbe_to_disk': ../namspace.c:308:46: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 308 | if (nw_get_volume_name(dbe->nwpath.volume, volname, sizeof(volname)) < 1) | ^~~~~~~ | | | char * In file included from ../namspace.c:39: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../namspace.c:326:22: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] 326 | symlink(dbe->nwpath.path, buf); | ~~~~~~~~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../namspace.c:31: /usr/include/unistd.h:802:33: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~~~ ../namspace.c: In function 'del_dbe_from_disk': ../namspace.c:338:46: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 338 | if (nw_get_volume_name(dbe->nwpath.volume, volname, sizeof(volname) ) < 1) | ^~~~~~~ | | | char * In file included from ../namspace.c:39: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../namspace.c: In function 'get_dbe_data_from_disk': ../namspace.c:369:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 369 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) { | ^~~~~~~ | | | char * In file included from ../namspace.c:39: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../namspace.c:387:19: warning: pointer targets in passing argument 2 of 'readlink' differ in signedness [-Wpointer-sign] 387 | l=readlink(buf, path, 511); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../namspace.c:31: /usr/include/unistd.h:809:22: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 809 | char *__restrict __buf, size_t __len) | ~~~~~~~~~~~~~~~~~^~~~~ ../namspace.c: In function 'add_hpath_to_nwpath': ../namspace.c:533:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 533 | int npbeg = strlen(nwpath->path); | ~~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../net.h:487, from ../namspace.c:31: ../namspace.c:546:39: warning: pointer targets in passing argument 1 of 'gettmpstr' differ in signedness [-Wpointer-sign] 546 | k, len, gettmpstr(p, len, 0) )); | ^ | | | uint8 * {aka unsigned char *} ../tools.h:77:32: note: in definition of macro 'XDPRINTF' 77 | # define XDPRINTF(x) xdprintf x | ^ ../tools.h:94:14: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 94 | extern char *gettmpstr(char *qs, int len, int extralen); | ^~~~~~~~~ ../namspace.c:550:11: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 550 | pp=strrchr((char*)nwpath->path, '/'); | ^ ../namspace.c:617:15: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 617 | char *p=nwpath->path; | ^~~~~~ ../namspace.c:620:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 620 | strmaxcpy(pp, p, 6); | ^~ | | | char * In file included from ../net.h:487, from ../namspace.c:31: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../namspace.c:620:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 620 | strmaxcpy(pp, p, 6); | ^ | | | char * In file included from ../net.h:487, from ../namspace.c:31: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../namspace.c:621:13: warning: pointer targets in passing argument 1 of 'up_fn' differ in signedness [-Wpointer-sign] 621 | up_fn(pp); | ^~ | | | char * In file included from ../namspace.c:38: ../nwfname.h:9:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 9 | extern uint8 *up_fn(uint8 *ss); | ^~~~~ ../namspace.c: In function 'insert_get_base_entry': ../namspace.c:804:41: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] 804 | if (nw_creat_node(nwpath->volume, unname, 1)) | ^~~~~~ | | | char * In file included from ../namspace.c:40: ../connect.h:125:45: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 125 | extern int nw_creat_node(int volume, uint8 *unname, int mode); | ~~~~~~~^~~~~~ ../namspace.c:808:41: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] 808 | if (nw_creat_node(nwpath->volume, unname, 0)) | ^~~~~~ | | | char * In file included from ../namspace.c:40: ../connect.h:125:45: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 125 | extern int nw_creat_node(int volume, uint8 *unname, int mode); | ~~~~~~~^~~~~~ ../namspace.c:824:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 824 | || strcmp(e->nwpath.path, nwpath->path)) { | ~~~~~~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../namspace.c:824:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 824 | || strcmp(e->nwpath.path, nwpath->path)) { | ~~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../namspace.c: In function 'build_base': ../namspace.c:894:39: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 894 | if (rets) strmaxcpy(rets, pp+1, size_rets-1); | ~~^~ | | | char * In file included from ../net.h:487, from ../namspace.c:31: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../namspace.c: In function 'build_dos_name': ../namspace.c:947:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 947 | return(strlen(fname)); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:949:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 949 | return(sprintf(fname, "%ld.___", (long)e->nwpath.statb.st_ino)); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../namspace.c:31: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ In file included from ../namspace.c:31: ../namspace.c: In function 'build_dir_info': ../namspace.c:1124:52: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] 1124 | U16_TO_16(tru_get_eff_rights(nwpath->volume, unixname, stb), p); | ^~~~~~~~ | | | char * ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' 108 | #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ | ^ ../namspace.c:1124:7: note: in expansion of macro 'U16_TO_16' 1124 | U16_TO_16(tru_get_eff_rights(nwpath->volume, unixname, stb), p); | ^~~~~~~~~ In file included from ../namspace.c:42: ../trustee.h:56:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 56 | extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); | ~~~~~~~^~~~~~~~ ../namspace.c:1162:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1162 | *p = (uint8) strlen(nwpath->fn); | ~~~~~~^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../namspace.c:31: ../namspace.c: In function 'nsp_get_eff_rights': ../namspace.c:1210:54: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] 1210 | U16_TO_16(tru_get_eff_rights(dbe->nwpath.volume, unixname, | ^~~~~~~~ | | | char * ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' 108 | #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ | ^ ../namspace.c:1210:5: note: in expansion of macro 'U16_TO_16' 1210 | U16_TO_16(tru_get_eff_rights(dbe->nwpath.volume, unixname, | ^~~~~~~~~ In file included from ../namspace.c:42: ../trustee.h:56:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 56 | extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); | ~~~~~~~^~~~~~~~ ../namspace.c: In function 'get_add_new_entry': ../namspace.c:1255:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1255 | nwpath.fn = nwpath.path+strlen(nwpath.path); | ~~~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c: In function 'search_match': ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1525 | flag = (!strcmp(name, entry) | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../namspace.c:1525:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1525 | flag = (!strcmp(name, entry) | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../namspace.c:1537:25: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1537 | statflag = stat(ds->unixname, &statb); | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../namspace.c:1540:27: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1540 | statflag = stat(ds->unixname, &statb); | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ In file included from ../net.h:487, from ../namspace.c:31: ../namspace.c: In function 'nw_search_file_dir': ../namspace.c:1597:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1597 | strmaxcpy(fname, path, min(sizeof(fname)-1, len)); | ^~~~~ | | | char * ../tools.h:79:50: note: in definition of macro 'MDEBUG' 79 | # define MDEBUG(mask, x) if (mask & debug_mask) x | ^ In file included from ../net.h:487, from ../namspace.c:31: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../namspace.c:1643:39: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 1643 | if (NULL == (ds->fdir = opendir(ds->unixname)) ) { | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:32: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../namspace.c:1645:26: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 1645 | ds->fdir=opendir(ds->unixname); | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:32: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../namspace.c:1657:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1657 | ds->kpath = ds->unixname+strlen(ds->unixname); | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:1680:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 1680 | inode_search=atoi(entry); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ In file included from ../net.h:487, from ../namspace.c:31: ../namspace.c:1809:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1809 | strmaxcpy(fname, path, min(sizeof(fname-1), len)); | ^~~~~ | | | char * ../tools.h:79:50: note: in definition of macro 'MDEBUG' 79 | # define MDEBUG(mask, x) if (mask & debug_mask) x | ^ In file included from ../net.h:487, from ../namspace.c:31: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../namspace.c: In function 'nw_open_creat_file_or_dir': ../namspace.c:224:4: warning: pointer targets in passing argument 2 of 'file_creat_open' differ in signedness [-Wpointer-sign] 224 | xnwpath_2_unix((nwpath), (modus), 0, NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../namspace.c:1870:15: note: in expansion of macro 'nwpath_2_unix' 1870 | nwpath_2_unix(&dbe->nwpath, 2), &(dbe->nwpath.statb), | ^~~~~~~~~~~~~ In file included from ../namspace.c:44: ../nwfile.h:37:47: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 37 | extern int file_creat_open(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ ../namspace.c: In function 'func_search_entry': ../namspace.c:1931:41: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 1931 | if (NULL == (ds->fdir = opendir(ds->unixname)) ) { | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:32: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../namspace.c:1933:30: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 1933 | ds->fdir = opendir(ds->unixname); | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:32: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../namspace.c:1945:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1945 | ds->kpath = ds->unixname+strlen(ds->unixname); | ~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:1966:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 1966 | inode_search=atoi(entry); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../namspace.c: In function 'delete_file_dir': ../namspace.c:2024:29: warning: pointer targets in passing argument 1 of 'rmdir_from_structures' differ in signedness [-Wpointer-sign] 2024 | rmdir_from_structures(unname, dbe); | ^~~~~~ | | | uint8 * {aka unsigned char *} ../namspace.c:489:41: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 489 | static void rmdir_from_structures(char *unname, DIR_BASE_ENTRY *dbe) | ~~~~~~^~~~~~ ../namspace.c: In function 'nw_delete_file_dir': ../namspace.c:2042:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2042 | search_entry, strlen(search_entry), searchattrib, | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c: In function 'nw_add_trustee_set': ../namspace.c:2126:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2126 | search_entry, strlen(search_entry), searchattrib, | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c: In function 'nw_del_trustee_set': ../namspace.c:2185:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2185 | search_entry, strlen(search_entry), W_SEARCH_ATTR_ALL, | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c: In function 'nw_get_trustee_set': ../namspace.c:2205:52: warning: pointer targets in passing argument 2 of 'tru_get_trustee_set' differ in signedness [-Wpointer-sign] 2205 | result=tru_get_trustee_set(dbe->nwpath.volume, unixname, | ^~~~~~~~ | | | char * In file included from ../namspace.c:42: ../trustee.h:45:51: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 45 | extern int tru_get_trustee_set(int volume, uint8 *unixname, | ~~~~~~~^~~~~~~~ ../namspace.c: In function 'nw_get_full_path_cookies': ../namspace.c:2236:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2236 | uint8 *lastpp = dbe->nwpath.path+strlen(dbe->nwpath.path); | ~~~~~~~~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:2244:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2244 | if (strlen(dbe->nwpath.path) > 256) | ~~~~~~~~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c:2276:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2276 | l=strlen(nw_volumes[dbe->nwpath.volume].sysname); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../namspace.c: In function 'nw_modify_file_dir': ../namspace.c:226:4: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 226 | xnwpath_2_unix((nwpath), (modus), 1, NULL) | ^~~~~~~~~~~~~~ ../namspace.c:2356:18: note: in expansion of macro 'alloc_nwpath2unix' 2356 | uint8 *uname=alloc_nwpath2unix(&(dbe->nwpath), 2); | ^~~~~~~~~~~~~~~~~ ../namspace.c:2359:28: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 2359 | if (-1 != (result=stat(uname, stb))){ | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../namspace.c:2368:56: warning: pointer targets in passing argument 2 of 'set_nw_attrib_dword' differ in signedness [-Wpointer-sign] 2368 | result=set_nw_attrib_dword(dbe->nwpath.volume, uname, stb, | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:41: ../nwattrib.h:19:53: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 19 | extern int set_nw_attrib_dword(int volume, char *unixname, struct stat *stb, uint32 attrib); | ~~~~~~^~~~~~~~ ../namspace.c:2430:23: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] 2430 | if (-1==utime(uname, &ut)) { | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:33: /usr/include/utime.h:44:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 44 | extern int utime (const char *__file, | ~~~~~~~~~~~~^~~~~~ ../namspace.c:2432:17: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] 2432 | utime(uname, &ut); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../namspace.c:33: /usr/include/utime.h:44:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 44 | extern int utime (const char *__file, | ~~~~~~~~~~~~^~~~~~ In file included from ../net.h:69, from ../namspace.c:31: ../namspace.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwvolume.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwvolume.c: In function 'add_vol_trustee': ../nwvolume.c:96:11: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 96 | vt->path=xmalloc(len+1); | ^ ../nwvolume.c: In function 'volume_to_namespace_map': ../nwvolume.c:106:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 106 | if (stat(vol->unixname, &statb)) { | ~~~^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwvolume.c: In function 'nw_init_volumes': ../nwvolume.c:130:24: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 130 | max_nw_vols=atoi(buff); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ In file included from ../net.h:487, from ../nwvolume.c:28: ../nwvolume.c:147:34: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 147 | new_str(path_vol_inodes_cache, "/var/spool/nwserv/.volcache"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwvolume.c:148:28: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 148 | new_str(path_attributes, "/var/nwserv/attrib"); | ^~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwvolume.c:149:26: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 149 | new_str(path_trustees, "/var/nwserv/trustees"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwvolume.c:252:33: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] 252 | vol->umode_dir=octtoi(umode_dirstr); | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../nwvolume.c:28: ../tools.h:61:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 61 | extern int octtoi(char *buf); | ~~~~~~^~~ ../nwvolume.c:254:36: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] 254 | vol->umode_file=octtoi(umode_filestr); | ^~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../nwvolume.c:28: ../tools.h:61:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 61 | extern int octtoi(char *buf); | ~~~~~~^~~ ../nwvolume.c: In function 'get_unx_home_dir': ../nwvolume.c:307:53: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 307 | if (unxlogin && *unxlogin && NULL != (pw=getpwnam(unxlogin))) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:73, from ../nwvolume.c:28: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ ../nwvolume.c:315:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 315 | strmaxcpy(homedir, pw->pw_dir, len); | ~~^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwvolume.c:28: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwvolume.c: In function 'nw_setup_vol_opts': ../nwvolume.c:365:17: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 365 | fname = ""; | ^ ../nwvolume.c: In function 'nw_get_volume_name': ../nwvolume.c:479:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 479 | strmaxcpy((char*)volname, (char*)nw_volumes[volnr].sysname, size_volname-1); | ^~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwvolume.c:28: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwvolume.c:479:33: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 479 | strmaxcpy((char*)volname, (char*)nw_volumes[volnr].sysname, size_volname-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwvolume.c:28: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwvolume.c: In function 'get_volume_inode': ../nwvolume.c:618:36: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 618 | result = stat(nw_volumes[volnr].unixname, stb); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwvolume.c: In function 'vol_trustee_scan': ../nwvolume.c:639:26: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 639 | if (NULL != (f=opendir(trusteepath))) { | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwvolume.c:30: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../nwvolume.c:646:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 646 | strmaxcpy(p, dirbuff->d_name, size_p-1); | ~~~~~~~^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwvolume.c:28: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwvolume.c:649:26: warning: pointer targets in passing argument 1 of 'readlink' differ in signedness [-Wpointer-sign] 649 | int l=readlink(trusteepath, path, 254); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwvolume.c:28: /usr/include/unistd.h:808:49: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 808 | extern ssize_t readlink (const char *__restrict __path, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../nwvolume.c:649:39: warning: pointer targets in passing argument 2 of 'readlink' differ in signedness [-Wpointer-sign] 649 | int l=readlink(trusteepath, path, 254); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwvolume.c:28: /usr/include/unistd.h:809:22: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 809 | char *__restrict __buf, size_t __len) | ~~~~~~~~~~~~~~~~~^~~~~ ../nwvolume.c:662:23: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 662 | if (!stat(unixname, &stb)) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwvolume.c:680:27: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 680 | } else if ((!stat(trusteepath, &stb)) && S_ISDIR(stb.st_mode)) { | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwvolume.c:681:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 681 | int l=strlen(p); | ^ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwvolume.c:28: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../net.h:487, from ../nwvolume.c:28: ../nwvolume.c: In function 'build_volume_user_trustee': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../nwvolume.c:698:3: note: in expansion of macro 'xstrcpy' 698 | xstrcpy(trusteepath, path_trustees); | ^~~~~~~ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwvolume.c:699:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 699 | p=trusteepath+strlen(trusteepath); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwvolume.c:28: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwvolume.c:702:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 702 | p+=strlen(v->sysname); | ~^~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwvolume.c:28: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwvolume.c: In function 'get_volume_user_trustee': ../nwvolume.c:747:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 747 | int l=strlen(v->sysname); | ~^~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwvolume.c:28: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../net.h:69, from ../nwvolume.c:28: ../nwvolume.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwfile.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:487, from ../nwfile.c:26: ../nwfile.c: In function 'new_file_handle': ../nwfile.c:110:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 110 | xstrcpy(fh->fname, (char*)unixname); ../tools.h:39:37: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwfile.c:110:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 110 | xstrcpy(fh->fname, (char*)unixname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwfile.c: In function 'file_creat_open': ../nwfile.c:287:28: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 287 | int exist = stat(unixname, stbuff) ? 0 : 1; | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwfile.c:303:18: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 303 | exist = stat(unixname, stbuff) ? 0 : 1; | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwfile.c:320:48: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] 320 | dwattrib = get_nw_attrib_dword(volume, unixname, stbuff); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwfile.c:38: ../nwattrib.h:18:53: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 18 | extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); | ~~~~~~^~~~~~~~ ../nwfile.c:407:32: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 407 | uint8 *p=(uint8*)strrchr(unixname, '/'); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwfile.c:26: /usr/include/string.h:253:14: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 253 | extern char *strrchr (const char *__s, int __c) | ^~~~~~~ ../nwfile.c:411:27: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 411 | completition=stat(unixname, stbuff); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwfile.c:415:52: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] 415 | dwattrib = get_nw_attrib_dword(volume, unixname, stbuff); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwfile.c:38: ../nwattrib.h:18:53: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 18 | extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); | ~~~~~~^~~~~~~~ ../nwfile.c:487:37: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] 487 | if (nw_creat_node(volume, fh->fname, 2|8)) | ~~^~~~~~~ | | | char * In file included from ../nwfile.c:37: ../connect.h:125:45: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 125 | extern int nw_creat_node(int volume, uint8 *unname, int mode); | ~~~~~~~^~~~~~ ../nwfile.c: In function 'fd_2_fname': ../nwfile.c:1062:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1062 | strmaxcpy(buf, fh->fname, bufsize-1); | ^~~ | | | char * In file included from ../net.h:487, from ../nwfile.c:26: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwfile.c:1062:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1062 | strmaxcpy(buf, fh->fname, bufsize-1); | ~~^~~~~~~ | | | char * In file included from ../net.h:487, from ../nwfile.c:26: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwfile.c: In function 'nw_log_logical_record': ../nwfile.c:1191:58: warning: pointer targets in passing argument 4 of 'share_set_logrec_add_rm' differ in signedness [-Wpointer-sign] 1191 | if (share_set_logrec_add_rm(lock_flag, timeout, len, data)) | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwfile.c:35: ../nwshare.h:14:79: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 14 | extern int share_set_logrec_add_rm(int lock_flag, int timeout, int len, char *data); | ~~~~~~^~~~ ../nwfile.c:1237:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1237 | strcpy(fn, "GENERIC_LOCKFILE"); | ^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwfile.c:26: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwfile.c:1242:33: warning: pointer targets in passing argument 3 of 'get_ini_entry' differ in signedness [-Wpointer-sign] 1242 | if (get_ini_entry(NULL, 41, buff, sizeof(buff)) && *buff) | ^~~~ | | | char * In file included from ../net.h:487, from ../nwfile.c:26: ../tools.h:45:55: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 45 | extern int get_ini_entry(FILE *f, int entry, uint8 *str, int strsize); | ~~~~~~~^~~ ../nwfile.c:1243:38: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 1243 | new_str(path_share_lock_files, buff); | ^~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwfile.c:1245:38: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 1245 | new_str(path_share_lock_files, "/var/spool/nwserv/.locks"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwfile.c:1251:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1251 | sprintf(fullpath,"%s/%s.k", path_share_lock_files, fn); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwfile.c:26: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ ../nwfile.c:1253:22: warning: pointer targets in passing argument 1 of 'find_lockfile' differ in signedness [-Wpointer-sign] 1253 | lf = find_lockfile(fn); | ^~ | | | uint8 * {aka unsigned char *} ../nwfile.c:1156:39: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1156 | static LOCK_FILE *find_lockfile(char *fn) | ~~~~~~^~ ../nwfile.c:1261:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1261 | fd = open(fullpath, O_RDWR|O_CREAT, 0600); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../nwfile.c:26: /usr/include/fcntl.h:195:30: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 195 | extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from ../net.h:69, from ../nwfile.c:26: ../nwfile.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../unxfile.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../unxfile.c: In function 'unx_mvdir': ../unxfile.c:27:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 27 | if (!stat(newname, &statb)) return(EEXIST); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../unxfile.c:28:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 28 | if (stat(oldname, &statb)) return(-1); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../unxfile.c:30:19: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 30 | return( (rename(oldname, newname) < 0) ? errno : 0); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../unxfile.c:20: /usr/include/stdio.h:148:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../unxfile.c:30:28: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 30 | return( (rename(oldname, newname) < 0) ? errno : 0); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../unxfile.c:20: /usr/include/stdio.h:148:51: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../unxfile.c: In function 'unx_mvfile': ../unxfile.c:36:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 36 | if (!stat(newname, &statb)) return(EEXIST); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../unxfile.c:37:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 37 | if (stat(oldname, &statb)) return(-1); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../unxfile.c:39:19: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 39 | return( (rename(oldname, newname) < 0) ? errno : 0); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../unxfile.c:20: /usr/include/stdio.h:148:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../unxfile.c:39:28: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 39 | return( (rename(oldname, newname) < 0) ? errno : 0); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../unxfile.c:20: /usr/include/stdio.h:148:51: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../unxfile.c: In function 'unx_mvfile_or_dir': ../unxfile.c:45:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 45 | if (!stat(newname, &statb)) return(EEXIST); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../unxfile.c:46:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 46 | if (stat(oldname, &statb)) return(-1); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../unxfile.c:47:19: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 47 | return( (rename(oldname, newname) < 0) ? errno : 0); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../unxfile.c:20: /usr/include/stdio.h:148:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../unxfile.c:47:28: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 47 | return( (rename(oldname, newname) < 0) ? errno : 0); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../unxfile.c:20: /usr/include/stdio.h:148:51: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../unxfile.c: In function 'unx_xrmdir': ../unxfile.c:87:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 87 | strmaxcpy(p, dirbuff->d_name, 298); | ^ | | | char * In file included from ../net.h:487, from ../unxfile.c:20: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../unxfile.c:87:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 87 | strmaxcpy(p, dirbuff->d_name, 298); | ~~~~~~~^~~~~~~~ | | | char * In file included from ../net.h:487, from ../unxfile.c:20: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ In file included from ../net.h:69, from ../unxfile.c:20: ../unxfile.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwqconn.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqconn.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../nwqconn.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ ../nwqconn.c: In function 'close_queue_job2': ../nwqconn.c:216:57: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 300 [-Wformat-truncation=] 216 | snprintf(printcommand, sizeof(printcommand), "%s %s %s", buff, | ^~ ~~~~ ../nwqconn.c:216:11: note: 'snprintf' output between 3 and 1050 bytes into a destination of size 300 216 | snprintf(printcommand, sizeof(printcommand), "%s %s %s", buff, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | qpa.banner_user_name, qpa.banner_file_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nameos2.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nameos2.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nameos2.c: In function 'get_match': ../nameos2.c:80:26: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 80 | if (NULL != (d=opendir(unixname))) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nameos2.c:20: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../nameos2.c:88:39: warning: pointer targets in passing argument 1 of 'my_match' differ in signedness [-Wpointer-sign] 88 | if (0 != (len=my_match(dirbuff->d_name, p+1))) { | ~~~~~~~^~~~~~~~ | | | char * ../nameos2.c:64:28: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | static int my_match(uint8 *s, uint8 *p) | ~~~~~~~^ In file included from ../net.h:69, from ../nameos2.c:19: ../nameos2.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwfname.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfname.c:23: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../nwfname.c:23: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwshare.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwshare.c:20: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwshare.c: In function 'share_file': ../nwshare.c:190:37: warning: pointer targets in passing argument 3 of 'get_ini_entry' differ in signedness [-Wpointer-sign] 190 | if (get_ini_entry(NULL, 41, buff, sizeof(buff)) && *buff) | ^~~~ | | | char * In file included from ../net.h:487, from ../nwshare.c:20: ../tools.h:45:55: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 45 | extern int get_ini_entry(FILE *f, int entry, uint8 *str, int strsize); | ~~~~~~~^~~ ../nwshare.c:191:42: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 191 | new_str(path_share_lock_files, buff); | ^~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwshare.c:193:42: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 193 | new_str(path_share_lock_files, "/var/spool/nwserv/.locks"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwshare.c: In function 'lock_unlock_pset': ../nwshare.c:671:28: warning: pointer targets in passing argument 4 of 'nw_log_logical_record' differ in signedness [-Wpointer-sign] 671 | ps->data); | ~~^~~~~~ | | | char * In file included from ../nwshare.c:23: ../nwfile.h:67:26: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | uint8 *data); | ~~~~~~~^~~~ ../nwshare.c:677:28: warning: pointer targets in passing argument 4 of 'nw_log_logical_record' differ in signedness [-Wpointer-sign] 677 | ps->data); | ~~^~~~~~ | | | char * In file included from ../nwshare.c:23: ../nwfile.h:67:26: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | uint8 *data); | ~~~~~~~^~~~ In file included from ../net.h:69, from ../nwshare.c:20: ../nwshare.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../extpipe.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../extpipe.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../extpipe.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwattrib.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwattrib.c:21: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwattrib.c: In function 'set_nw_attrib': ../nwattrib.c:150:37: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] 150 | if (tru_eff_rights_exists(volume, unixname, stb, TRUSTEE_M)) | ^~~~~~~~ | | | char * In file included from ../nwattrib.c:26: ../trustee.h:57:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, | ~~~~~~~^~~~~~~~ In file included from ../net.h:69, from ../nwattrib.c:21: ../nwattrib.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../trustee.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../trustee.c: In function 'un_nw_rights': ../trustee.c:56:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 56 | uint8 *p = unixname+strlen(unixname); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../trustee.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../trustee.c:72:18: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 72 | if (stat(unixname, &stbp) || | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../trustee.c:87:45: warning: pointer targets in passing argument 2 of 'get_unix_access_rights' differ in signedness [-Wpointer-sign] 87 | accp=get_unix_access_rights(&stbp,"/."); | ^~~~ | | | char * In file included from ../trustee.c:35: ../connect.h:226:63: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 226 | extern int get_unix_access_rights(struct stat *stb, uint8 *unixname); | ~~~~~~~^~~~~~~~ ../trustee.c: In function 'creat_trustee_path': ../trustee.c:309:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 309 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return; | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c:318:15: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] 318 | if (symlink(path, buf)) { | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../trustee.c:31: /usr/include/unistd.h:802:33: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~~~ ../trustee.c: In function 'put_trustee_to_disk': ../trustee.c:332:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 332 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return(-0xff); | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c: In function 'get_trustee_from_disk': ../trustee.c:358:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 358 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c: In function 'del_trustee_from_disk': ../trustee.c:387:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 387 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return(result); | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c: In function 'tru_vol_sernum': ../trustee.c:411:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 411 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return(-1); | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c: In function 'tru_free_file_trustees_from_disk': ../trustee.c:439:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 439 | if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return; | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c: In function 'create_trustee_node': ../trustee.c:497:36: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] 497 | (void)nw_get_volume_name(volume, volname, sizeof(volname) ); | ^~~~~~~ | | | char * In file included from ../trustee.c:34: ../nwvolume.h:116:50: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); | ~~~~~~~^~~~~~~ ../trustee.c:507:14: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 507 | uint8 *p=buf+l; | ^~~ ../trustee.c:520:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 520 | strmaxcpy(p, dirbuff->d_name, sizeof(buf) - len -1); | ~~~~~~~^~~~~~~~ | | | char * In file included from ../net.h:487, from ../trustee.c:31: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../trustee.c: In function 'find_creat_add_trustee_node': ../trustee.c:557:17: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 557 | if ( lstat(unixname, &lstatbuf) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ In file included from ../trustee.c:31: ../trustee.c: In function 'local_tru_add_trustee_set': ../trustee.c:617:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 617 | ufn=unixname+min(strlen(unixname), volumenamelen); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} ../net.h:79:28: note: in definition of macro 'min' 79 | #define min(a,b) (((a) < (b)) ? (a) : (b)) | ^ In file included from ../net.h:37, from ../trustee.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../trustee.c:31: ../trustee.c:617:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 617 | ufn=unixname+min(strlen(unixname), volumenamelen); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} ../net.h:79:41: note: in definition of macro 'min' 79 | #define min(a,b) (((a) < (b)) ? (a) : (b)) | ^ In file included from ../net.h:37, from ../trustee.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../trustee.c: In function 'tru_add_trustee_set': ../trustee.c:645:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 645 | int len = strlen(unixname); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../trustee.c:31: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../trustee.c:647:18: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 647 | char *p = unixname+len; | ^~~~~~~~ ../trustee.c:648:18: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 648 | char *volp = unixname+vollen; | ^~~~~~~~ ../trustee.c:655:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 655 | if (!stat(unixname, &statb)){ | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../trustee.c: In function 'find_build_trustee_node': ../trustee.c:812:27: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 812 | char *p = unixname+volumenamelen; | ^~~~~~~~ ../trustee.c:829:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 829 | if (!stat(unixname, &stb1)) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../trustee.c:842:27: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 842 | if ( lstat(unixname, &lstatbuf) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ In file included from ../net.h:69, from ../trustee.c:31: ../trustee.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../nwconn nwconn.o emutli.o net1.o tools.o connect.o namspace.o nwvolume.o nwfile.o unxfile.o nwqconn.o nameos2.o nwfname.o nwshare.o extpipe.o nwattrib.o trustee.o -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../ncpserv.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../ncpserv.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../ncpserv.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../ncpserv ncpserv.o emutli.o net1.o tools.o -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwclient.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwclient.c:27: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../nwclient.c:27: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../nwclient nwclient.o emutli.o net1.o tools.o -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwbind.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwbind.c: In function 'nw_test_adr_access': ../nwbind.c:232:19: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] 232 | propname, strlen(propname), | ^~~~~~~~ | | | char * In file included from ../nwbind.c:36: ../nwdbm.h:171:24: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 171 | uint8 *prop_name, int prop_namlen, | ~~~~~~~^~~~~~~~~ ../nwbind.c: In function 'sent_down_message': ../nwbind.c:404:30: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 404 | strmaxcpy(cn->message, "MARS_NWE IS DIEING", 58); | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c: In function 'build_login_response': ../nwbind.c:485:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 485 | i=strlen(pw_name); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwbind.c: In function 'handle_fxx': ../nwbind.c:585:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 585 | strmaxcpy(message, rdata+1, min(59, *rdata)); | ^~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:604:26: warning: pointer targets in passing argument 4 of 'get_guid' differ in signedness [-Wpointer-sign] 604 | id, (char *) NULL) != 0) { | ^ | | | char * In file included from ../nwbind.c:36: ../nwdbm.h:253:63: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 253 | extern int get_guid(int *gid, int *uid, uint32 obj_id, uint8 *name); | ~~~~~~~^~~~ ../nwbind.c:680:35: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 680 | strncpy(xdata->servername, my_nwname, sizeof(xdata->servername)-1); | ~~~~~^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:40:41: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 40 | #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) | ^~~ | | | char * ../nwbind.c:768:21: note: in expansion of macro 'xstrmaxcpy' 768 | xstrmaxcpy(password, p1+1, (int) *p1); | ^~~~~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:782:61: warning: pointer targets in passing argument 2 of 'nw_test_unenpasswd' differ in signedness [-Wpointer-sign] 782 | result=nw_test_unenpasswd(obj.id, password); | ^~~~~~~~ | | | char * In file included from ../nwbind.c:36: ../nwdbm.h:260:53: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 260 | extern int nw_test_unenpasswd(uint32 obj_id, uint8 *password); | ~~~~~~~^~~~~~~~ ../nwbind.c:816:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 816 | strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:816:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 816 | strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:863:38: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 863 | strncpy(xdata->object_name, obj.name, 48); | ~~~~~^~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:863:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 863 | strncpy(xdata->object_name, obj.name, 48); | ~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ In file included from ../net.h:487, from ../nwbind.c:35: ../nwbind.c:892:42: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 892 | xstrmaxcpy(obj.name, (char*)(p+3), *(p+2)); ../tools.h:40:47: note: in definition of macro 'xstrmaxcpy' 40 | #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:938:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 938 | strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:938:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 938 | strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:967:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 967 | strmaxcpy((char*)obj.name, (char*)p+3, (int) *(p+2)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:967:56: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 967 | strmaxcpy((char*)obj.name, (char*)p+3, (int) *(p+2)); | ~~~~~~~~^~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:977:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 977 | strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:977:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 977 | strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:990:33: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 990 | strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:990:50: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 990 | strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:991:33: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 991 | strmaxcpy((char*)newname, (char*)(p1+1), (int) *(p1)); | ^~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:991:50: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 991 | strmaxcpy((char*)newname, (char*)(p1+1), (int) *(p1)); | ^~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1008:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1008 | strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:1008:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1008 | strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1014:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1014 | strncpy(xdata->object_name, obj.name, 48); | ~~~~~^~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1014:54: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1014 | strncpy(xdata->object_name, obj.name, 48); | ~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1033:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1033 | strncpy(xdata->object_name, obj.name, 48); | ~~~~~^~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1033:54: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1033 | strncpy(xdata->object_name, obj.name, 48); | ~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1052:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1052 | strmaxcpy((char*)obj.name, (char*)(p+3),(int) *(p+2)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:1052:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1052 | strmaxcpy((char*)obj.name, (char*)(p+3),(int) *(p+2)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1058:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1058 | strncpy(xdata->object_name, obj.name, 48); | ~~~~~^~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1058:54: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1058 | strncpy(xdata->object_name, obj.name, 48); | ~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ In file included from ../net.h:487, from ../nwbind.c:35: ../nwbind.c:1076:45: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1076 | xstrmaxcpy(obj.name, (char*)(p+4), (int) *(p+3)); ../tools.h:40:47: note: in definition of macro 'xstrmaxcpy' 40 | #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1147:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1147 | strncpy(xdata->prop_name, | ~~~~~^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1148:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1148 | prop.name, sizeof(xdata->prop_name)); | ~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwbind.c:1228:77: warning: pointer targets in passing argument 2 of 'nw_valid_newpasswd' differ in signedness [-Wpointer-sign] 1228 | 0 == (result=nw_valid_newpasswd(act_c->object_id,newpassword)) | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwbind.c:105:52: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 105 | static int nw_valid_newpasswd(uint32 obj_id, char *newpasswd) | ~~~~~~^~~~~~~~~ ../nwbind.c:1234:59: warning: pointer targets in passing argument 2 of 'nw_set_passwd' differ in signedness [-Wpointer-sign] 1234 | result=nw_set_passwd(obj.id, newpassword, 0); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwbind.c:36: ../nwdbm.h:261:47: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 261 | extern int nw_set_passwd(uint32 obj_id, char *password, int dont_ch); | ~~~~~~^~~~~~~~ ../nwbind.c:1372:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1372 | strmaxcpy((char*)obj.name, (char*)(p+3), *(p+2)); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:1372:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1372 | strmaxcpy((char*)obj.name, (char*)(p+3), *(p+2)); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1391:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1391 | strmaxcpy((char*)obj.name, (char*)(p+1), *p); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:1391:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1391 | strmaxcpy((char*)obj.name, (char*)(p+1), *p); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1759:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1759 | strcpy(responsedata, company); | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwbind.c:1760:48: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1760 | l = 1 + sprintf(responsedata+k, revision, | ~~~~~~~~~~~~^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwbind.c:35: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ ../nwbind.c:1762:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1762 | strcpy(responsedata+k, revision_date); | ~~~~~~~~~~~~^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwbind.c:1764:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1764 | strcpy(responsedata+k, copyright); | ~~~~~~~~~~~~^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwbind.c:1756:25: warning: variable 'l' set but not used [-Wunused-but-set-variable] 1756 | int l; | ^ ../nwbind.c:1790:53: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1790 | strmaxcpy(act_c->message, msg, min(58, msglen)); | ^~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1795:52: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1795 | strmaxcpy(cc->message, msg, min(58, msglen)); | ^~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1801:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1801 | strmaxcpy(act_c->message, msg, min(58, msglen)); | ^~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c:1816:30: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1816 | strmaxcpy(cn->message, "MARS_NWE has killed your connection", 58); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwbind.c: In function 'handle_bind_calls': ../nwbind.c:1967:32: warning: pointer targets in passing argument 2 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1967 | nw_new_obj_prop(0, obj.name, obj.type, O_FL_DYNA, 0x40, | ~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwbind.c:36: ../nwdbm.h:245:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 245 | char *objname, int objtype, int objflags, int objsecurity, | ~~~~~~^~~~~~~ ../nwbind.c: In function 'handle_ctrl': ../nwbind.c:2069:40: warning: pointer targets in passing argument 3 of 'xread' differ in signedness [-Wpointer-sign] 2069 | data_len = xread(&ipxd, &offs, (char*)&conn, sizeof(int)); | ^~~~~~~~~~~~ | | | char * ../nwbind.c:1997:52: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1997 | static int xread(IPX_DATA *ipxd, int *offs, uint8 *data, int size) | ~~~~~~~^~~~ ../nwbind.c: In function 'main': ../nwbind.c:2108:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2108 | strmaxcpy(my_nwname, argv[1], 47); | ^~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwbind.c:2108:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2108 | strmaxcpy(my_nwname, argv[1], 47); | ~~~~^~~ | | | char * In file included from ../net.h:487, from ../nwbind.c:35: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ In file included from ../net.h:69, from ../nwbind.c:35: ../nwbind.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ ../nwbind.c: In function 'handle_fxx': ../nwbind.c:680:22: warning: 'strncpy' output may be truncated copying 47 bytes from a string of length 49 [-Wstringop-truncation] 680 | strncpy(xdata->servername, my_nwname, sizeof(xdata->servername)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwdbm.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwdbm.c: In function 'handle_iobj': ../nwdbm.c:241:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 241 | strncpy(iobj.name, o->name, sizeof(iobj.name)); | ~~~~^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwdbm.c:241:25: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 241 | strncpy(iobj.name, o->name, sizeof(iobj.name)); | ~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwdbm.c: In function 'find_obj_id': ../nwdbm.c:290:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 290 | if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) | ~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../nwdbm.c:290:36: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 290 | if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) | ~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:140:51: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../nwdbm.c: In function 'nw_rename_obj': ../nwdbm.c:562:20: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 562 | strncpy(obj->name, newname, 48); | ~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwdbm.c:562:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 562 | strncpy(obj->name, newname, 48); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ ../nwdbm.c: In function 'nw_get_prop_val_by_obj_id': ../nwdbm.c:848:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 848 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:848:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 848 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_get_prop_val': ../nwdbm.c:871:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 871 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:871:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 871 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_delete_property': ../nwdbm.c:891:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 891 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:891:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 891 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:892:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 892 | strmaxcpy((char*)prop_name_x, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:892:33: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 892 | strmaxcpy((char*)prop_name_x, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_is_member_in_set': ../nwdbm.c:906:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 906 | strmaxcpy(prop.name, propname, sizeof(prop.name)); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_is_obj_in_set': ../nwdbm.c:923:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 923 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:923:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 923 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:924:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 924 | strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:924:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 924 | strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:925:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 925 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:925:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 925 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_add_obj_to_set': ../nwdbm.c:950:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 950 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:950:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 950 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:951:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 951 | strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:951:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 951 | strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:952:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 952 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:952:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 952 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_delete_obj_from_set': ../nwdbm.c:981:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 981 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:981:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 981 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:982:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 982 | strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:982:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 982 | strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:983:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 983 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:983:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 983 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_write_prop_value': ../nwdbm.c:1008:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1008 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1008:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1008 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1009:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1009 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1009:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1009 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_change_prop_security': ../nwdbm.c:1033:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1033 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1033:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1033 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1034:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1034 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1034:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1034 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_scan_property': ../nwdbm.c:1054:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1054 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1054:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1054 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1055:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1055 | strmaxcpy((char*)prop->name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1055:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1055 | strmaxcpy((char*)prop->name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_get_prop_val_str': ../nwdbm.c:1082:45: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] 1082 | result=nw_get_prop_val_by_obj_id(q_id, 1, propname, strlen(propname), | ^~~~~~~~ | | | char * ../nwdbm.c:841:38: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 841 | uint8 *prop_name, int prop_namlen, | ~~~~~~~^~~~~~~~~ ../nwdbm.c:1086:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1086 | result=strlen(buff); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'nw_create_obj': ../nwdbm.c:1110:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1110 | if (o->type == obj->type && !strcmp(o->name, obj->name)){ | ~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwdbm.c:1110:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1110 | if (o->type == obj->type && !strcmp(o->name, obj->name)){ | ~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwdbm.c: In function 'nw_create_obj_prop': ../nwdbm.c:1165:47: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1165 | if (data.dptr != NULL && !strcmp(prop->name, p->name)){ | ~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwdbm.c:1165:56: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1165 | if (data.dptr != NULL && !strcmp(prop->name, p->name)){ | ~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwdbm.c: In function 'nw_create_prop': ../nwdbm.c:1215:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1215 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1215:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1215 | strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1216:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1216 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1216:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1216 | strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); | ^~~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_new_obj': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../nwdbm.c:1235:3: note: in expansion of macro 'xstrcpy' 1235 | xstrcpy(obj.name, objname); | ^~~~~~~ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_new_obj_prop': ../nwdbm.c:1266:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1266 | strmaxcpy(prop.name, propname, sizeof(prop.name)); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_getpwnam': ../nwdbm.c:1306:35: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] 1306 | if (nw_get_prop_val_str(obj_id, pn_unix_user, buff) > 0){ | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1074:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1074 | int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) | ~~~~~~^~~~~~~~ ../nwdbm.c:1306:49: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] 1306 | if (nw_get_prop_val_str(obj_id, pn_unix_user, buff) > 0){ | ^~~~ | | | char * ../nwdbm.c:1074:61: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1074 | int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) | ~~~~~~~^~~~ In file included from ../net.h:487, from ../nwdbm.c:30: ../nwdbm.c:1315:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1315 | xstrcpy(pwstat.pw_passwd, pw->pw_passwd); ../tools.h:39:37: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1315:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1315 | xstrcpy(pwstat.pw_passwd, pw->pw_passwd); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1316:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1316 | xstrcpy(pwstat.pw_name, pw->pw_name); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1317:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1317 | xstrcpy(pwstat.pw_dir, pw->pw_dir); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1323:32: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1323 | if (spw) xstrcpy(pwstat.pw_passwd, spw->sp_pwdp); ../tools.h:39:37: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1323:47: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1323 | if (spw) xstrcpy(pwstat.pw_passwd, spw->sp_pwdp); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nw_is_security_equal': ../nwdbm.c:1338:35: warning: pointer targets in passing argument 2 of 'nw_is_member_in_set' differ in signedness [-Wpointer-sign] 1338 | return(nw_is_member_in_set(id2, pn_security_equals, id1)); | ^~~~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:902:46: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 902 | int nw_is_member_in_set(uint32 obj_id, char *propname, uint32 member_id) | ~~~~~~^~~~~~~~ ../nwdbm.c: In function 'get_groups_i_m_in': ../nwdbm.c:1348:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1348 | pn_groups_i_m_in, strlen(pn_groups_i_m_in), | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'get_guid': ../nwdbm.c:1377:22: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1377 | if (name) strcpy(name, "UNKNOWN"); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwdbm.c: In function 'loc_nw_test_passwd': ../nwdbm.c:1394:35: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] 1394 | if (nw_get_prop_val_str(obj_id, pn_password, stored_passwd) > 0) { | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1074:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1074 | int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) | ~~~~~~^~~~~~~~ ../nwdbm.c: In function 'nw_test_unenpasswd': ../nwdbm.c:1437:37: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] 1437 | && nw_get_prop_val_str(obj_id, pn_password, stored_passwd) > 0 ) { | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1074:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1074 | int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) | ~~~~~~^~~~~~~~ ../nwdbm.c:1442:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1442 | shuffle(s_uid, passwordu, strlen(passwordu), passwd); | ^~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'nw_update_oldpasswd': ../nwdbm.c:1470:12: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] 1470 | pn_control, strlen(pn_control), | ^~~~~~~~~~ | | | char * ../nwdbm.c:841:38: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 841 | uint8 *prop_name, int prop_namlen, | ~~~~~~~^~~~~~~~~ ../nwdbm.c:1487:19: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1487 | segm, 128, 1); | ^~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1248:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1248 | char *value, int valuesize, int ever) | ~~~~~~^~~~~ ../nwdbm.c: In function 'nw_set_login_control': ../nwdbm.c:1496:7: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1496 | (uint8 *)plc, sizeof(LOGIN_CONTROL), 1); | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1248:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1248 | char *value, int valuesize, int ever) | ~~~~~~^~~~~ ../nwdbm.c: In function 'nw_get_login_control': ../nwdbm.c:1511:14: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] 1511 | pn_login_control, strlen(pn_login_control), | ^~~~~~~~~~~~~~~~ | | | char * ../nwdbm.c:841:38: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 841 | uint8 *prop_name, int prop_namlen, | ~~~~~~~^~~~~~~~~ ../nwdbm.c:1522:16: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] 1522 | pn_user_defaults, strlen(pn_user_defaults), | ^~~~~~~~~~~~~~~~ | | | char * ../nwdbm.c:841:38: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 841 | uint8 *prop_name, int prop_namlen, | ~~~~~~~^~~~~~~~~ ../nwdbm.c: In function 'nw_set_enpasswd': ../nwdbm.c:1572:52: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] 1572 | if ((!dont_ch) || (nw_get_prop_val_str(obj_id, prop_name, NULL) < 1)) { | ^~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1074:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1074 | int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) | ~~~~~~^~~~~~~~ ../nwdbm.c:1573:41: warning: pointer targets in passing argument 2 of 'nw_update_oldpasswd' differ in signedness [-Wpointer-sign] 1573 | result=nw_update_oldpasswd(obj_id,passwd); | ^~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1459:53: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1459 | static int nw_update_oldpasswd(uint32 obj_id, char *pwd) | ~~~~~~^~~ ../nwdbm.c:1580:24: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1580 | prop_name, P_FL_STAT|P_FL_ITEM, 0x44, | ^~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1247:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1247 | char *propname, int propflags, int propsecurity, | ~~~~~~^~~~~~~~ ../nwdbm.c:1581:24: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1581 | passwd, 16, 1); | ^~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1248:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1248 | char *value, int valuesize, int ever) | ~~~~~~^~~~~ ../nwdbm.c: In function 'nw_set_passwd': ../nwdbm.c:1626:20: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] 1626 | shuffle(s_uid, password, strlen(password), passwd); | ^~~~~~~~ | | | char * In file included from ../nwdbm.c:32: ../nwcrypt.h:3:42: note: expected 'const unsigned char *' but argument is of type 'char *' 3 | const unsigned char *buf, int buflen, | ~~~~~~~~~~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'nw_keychange_passwd': ../nwdbm.c:1663:22: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] 1663 | shuffle(s_uid, buf, 0, storedpass); | ^~~ | | | char * In file included from ../nwdbm.c:32: ../nwcrypt.h:3:42: note: expected 'const unsigned char *' but argument is of type 'char *' 3 | const unsigned char *buf, int buflen, | ~~~~~~~~~~~~~~~~~~~~~^~~ ../nwdbm.c:1673:45: warning: pointer targets in passing argument 3 of 'nw_valid_keynewpasswd' differ in signedness [-Wpointer-sign] 1673 | result=nw_valid_keynewpasswd(obj_id, len, storedpass); | ^~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1548:67: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1548 | static int nw_valid_keynewpasswd(uint32 obj_id, int pwdlen, char *newpasswd) | ~~~~~~^~~~~~~~~ ../nwdbm.c:1677:22: warning: pointer targets in passing argument 1 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] 1677 | nw_decrypt_newpass(storedpass, newpass, newpass); | ^~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:32: ../nwcrypt.h:10:38: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 10 | extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); | ~~~~~~^~~~~~ ../nwdbm.c:1677:36: warning: pointer targets in passing argument 2 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] 1677 | nw_decrypt_newpass(storedpass, newpass, newpass); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:32: ../nwcrypt.h:10:52: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 10 | extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); | ~~~~~~^~~~~~ ../nwdbm.c:1677:47: warning: pointer targets in passing argument 3 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] 1677 | nw_decrypt_newpass(storedpass, newpass, newpass); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:32: ../nwcrypt.h:10:66: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 10 | extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); | ~~~~~~^~~~~~ ../nwdbm.c:1678:32: warning: pointer targets in passing argument 1 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] 1678 | nw_decrypt_newpass(storedpass+8, newpass+8, newpass+8); | ~~~~~~~~~~^~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:32: ../nwcrypt.h:10:38: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 10 | extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); | ~~~~~~^~~~~~ ../nwdbm.c:1678:43: warning: pointer targets in passing argument 2 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] 1678 | nw_decrypt_newpass(storedpass+8, newpass+8, newpass+8); | ~~~~~~~^~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:32: ../nwcrypt.h:10:52: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 10 | extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); | ~~~~~~^~~~~~ ../nwdbm.c:1678:54: warning: pointer targets in passing argument 3 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] 1678 | nw_decrypt_newpass(storedpass+8, newpass+8, newpass+8); | ~~~~~~~^~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:32: ../nwcrypt.h:10:66: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 10 | extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); | ~~~~~~^~~~~~ ../nwdbm.c:1684:18: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] 1684 | shuffle(s_uid, buf, 0, storedpass); | ^~~ | | | char * In file included from ../nwdbm.c:32: ../nwcrypt.h:3:42: note: expected 'const unsigned char *' but argument is of type 'char *' 3 | const unsigned char *buf, int buflen, | ~~~~~~~~~~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'nw_new_add_prop_member': ../nwdbm.c:1695:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1695 | strmaxcpy(prop.name, propname, sizeof(prop.name)); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'nwdbm_rmdir': ../nwdbm.c:1745:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1745 | strmaxcpy(p, dirbuff->d_name, 255); | ^ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1745:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1745 | strmaxcpy(p, dirbuff->d_name, 255); | ~~~~~~~^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'add_pr_queue': ../nwdbm.c:1802:16: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1802 | q_directory=buf; | ^ ../nwdbm.c: In function 'add_pr_server': ../nwdbm.c:1835:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1835 | strmaxcpy((char*)obj.name, (char*)ps_name, 47); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1835:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1835 | strmaxcpy((char*)obj.name, (char*)ps_name, 47); | ^~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:1845:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1845 | strmaxcpy((char*)obj.name, (char*)ps_queue, 47); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:1845:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 1845 | strmaxcpy((char*)obj.name, (char*)ps_queue, 47); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'add_user_to_group': ../nwdbm.c:1855:32: warning: pointer targets in passing argument 2 of 'nw_new_add_prop_member' differ in signedness [-Wpointer-sign] 1855 | nw_new_add_prop_member(u_id, pn_groups_i_m_in, P_FL_STAT, 0x31, g_id); | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1688:56: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1688 | static int nw_new_add_prop_member(uint32 obj_id, char *propname, | ~~~~~~^~~~~~~~ ../nwdbm.c:1856:32: warning: pointer targets in passing argument 2 of 'nw_new_add_prop_member' differ in signedness [-Wpointer-sign] 1856 | nw_new_add_prop_member(u_id, pn_security_equals, P_FL_STAT, 0x32, g_id); | ^~~~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1688:56: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1688 | static int nw_new_add_prop_member(uint32 obj_id, char *propname, | ~~~~~~^~~~~~~~ ../nwdbm.c:1857:32: warning: pointer targets in passing argument 2 of 'nw_new_add_prop_member' differ in signedness [-Wpointer-sign] 1857 | nw_new_add_prop_member(g_id, pn_group_members, P_FL_STAT, 0x31, u_id); | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1688:56: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1688 | static int nw_new_add_prop_member(uint32 obj_id, char *propname, | ~~~~~~^~~~~~~~ ../nwdbm.c: In function 'add_user_2_unx': ../nwdbm.c:1864:22: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1864 | pn_unix_user, P_FL_ITEM, 0x30, | ^~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1247:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1247 | char *propname, int propflags, int propsecurity, | ~~~~~~^~~~~~~~ ../nwdbm.c: In function 'test_allow_password_change': ../nwdbm.c:1875:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1875 | pn_special_flags, strlen(pn_special_flags), | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c:1882:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1882 | pn_login_control, strlen(pn_login_control), | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'add_remove_special_flags': ../nwdbm.c:1899:25: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1899 | pn_special_flags, P_FL_STAT|P_FL_ITEM, 0x33, | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1247:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1247 | char *propname, int propflags, int propsecurity, | ~~~~~~^~~~~~~~ ../nwdbm.c:1900:25: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 1900 | buff, sizeof(buff), 1); | ^~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1248:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1248 | char *value, int valuesize, int ever) | ~~~~~~^~~~~ ../nwdbm.c: In function 'get_sys_unixname': ../nwdbm.c:1954:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1954 | int result = strlen(sysname); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c:1955:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1955 | uint8 *pp = unixname + strlen(unixname); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c:1974:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1974 | if (stat(unixname, &statb) < 0) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwdbm.c:1975:19: warning: pointer targets in passing argument 1 of 'nwdbm_mkdir' differ in signedness [-Wpointer-sign] 1975 | nwdbm_mkdir(unixname, 0751, 1); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1710:23: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1710 | int nwdbm_mkdir(char *unixname, int mode, int flags) | ~~~~~~^~~~~~~~ ../nwdbm.c:1977:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1977 | if (stat(unixname, &statb) < 0 || !S_ISDIR(statb.st_mode)) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwdbm.c: In function 'test_add_dir': ../nwdbm.c:1998:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1998 | if (stat(unixname, &stb) < 0) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwdbm.c:1999:21: warning: pointer targets in passing argument 1 of 'nwdbm_mkdir' differ in signedness [-Wpointer-sign] 1999 | if (nwdbm_mkdir(unixname, permiss, (flags&4) ? 1 : 0)< 0) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1710:23: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1710 | int nwdbm_mkdir(char *unixname, int mode, int flags) | ~~~~~~^~~~~~~~ ../nwdbm.c:2002:13: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 2002 | chmod(unixname, permiss); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2004:15: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 2004 | chown(unixname, uid, gid); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2009:15: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2009 | char *p=unixname; | ^~~~~~~~ ../nwdbm.c:2013:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 2013 | if (!stat(unixname, &stb)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwdbm.c:2014:19: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 2014 | chmod(unixname, stb.st_mode|0111); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2019:13: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 2019 | chmod(unixname, permiss); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2021:15: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 2021 | chown(unixname, uid, gid); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2025:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2025 | pp += strlen(pp); | ^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c: In function 'correct_user_dirs': ../nwdbm.c:2047:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2047 | l=sprintf(buf1,"../%x", (int)objid)-3; | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwdbm.c:30: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ ../nwdbm.c:2061:15: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 2061 | (void)mkdir(fndir, mask); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:317:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 317 | extern int mkdir (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2062:15: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 2062 | (void)chmod(fndir, mask); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2063:15: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 2063 | (void)chown(fndir, uid, gid); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2065:18: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 2065 | if ((f=opendir(fndir)) != (DIR*)NULL) { | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwdbm.c:34: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ^~~~~~~ ../nwdbm.c:2070:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2070 | strcpy(pp+1, "login"); | ~~^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwdbm.c:2073:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 2073 | if (stat(fndir, &statb)) { /* no one exist */ | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwdbm.c:2074:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 2074 | FILE *f=fopen(fndir, "w"); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwdbm.c:30: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 246 | extern FILE *fopen (const char *__restrict __filename, | ^~~~~ ../nwdbm.c:2078:23: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 2078 | (void)chown(fndir, uid, gid); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2079:17: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 2079 | chmod(fndir, 0600); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2089:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2089 | strcpy(pp+1, name); | ~~^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwdbm.c:2089:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2089 | strcpy(pp+1, name); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ^~~~~~ ../nwdbm.c:2090:24: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 2090 | if ( !lstat(fndir, &lstatb) | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwdbm.c:2094:25: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 2094 | (void)chown(fndir, uid, gid); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:473:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 473 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2096:21: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 2096 | chmod(fndir, S_ISDIR(lstatb.st_mode) ? 700 : 600); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:47, from ../nwdbm.c:30: /usr/include/sys/stat.h:280:31: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 280 | extern int chmod (const char *__file, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2110:10: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 2110 | unlink(fndir); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2111:11: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] 2111 | symlink(buf1, fndir); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:802:33: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~~~ ../nwdbm.c:2111:17: warning: pointer targets in passing argument 2 of 'symlink' differ in signedness [-Wpointer-sign] 2111 | symlink(buf1, fndir); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwdbm.c:30: /usr/include/unistd.h:802:53: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~ ../nwdbm.c: In function 'test_ins_unx_user': ../nwdbm.c:2125:21: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 2125 | pw = getpwnam(unxname); | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:73, from ../nwdbm.c:30: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ ../nwdbm.c:2127:28: warning: pointer targets in passing argument 2 of 'add_user_2_unx' differ in signedness [-Wpointer-sign] 2127 | add_user_2_unx(id, unxname); | ^~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1860:49: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1860 | static void add_user_2_unx(uint32 u_id, char *unname) | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'check_compress_bindery': ../nwdbm.c:2231:50: warning: pointer targets in passing argument 2 of 'loc_delete_property' differ in signedness [-Wpointer-sign] 2231 | loc_delete_property(d_prop_oid[d_pcount], (char*)NULL, | ^ | | | char * ../nwdbm.c:361:39: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 361 | uint8 *prop_name, | ~~~~~~~^~~~~~~~~ ../nwdbm.c: In function 'nw_fill_standard': ../nwdbm.c:2396:28: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 2396 | pn_group_members, P_FL_SET, 0x31, | ^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:1247:25: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 1247 | char *propname, int propflags, int propsecurity, | ~~~~~~^~~~~~~~ ../nwdbm.c:2401:44: warning: pointer targets in passing argument 3 of 'get_ini_entry' differ in signedness [-Wpointer-sign] 2401 | while (0 != (what =get_ini_entry(f, 0, (char*)buff, sizeof(buff)))) { | ^~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:45:55: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 45 | extern int get_ini_entry(FILE *f, int entry, uint8 *str, int strsize); | ~~~~~~~^~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../nwdbm.c:2403:9: note: in expansion of macro 'xstrcpy' 2403 | xstrcpy(sysentry, buff); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../nwdbm.c:2403:9: note: in expansion of macro 'xstrcpy' 2403 | xstrcpy(sysentry, buff); | ^~~~~~~ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:2457:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2457 | upstr(name); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2475:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2475 | upstr(name); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2476:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2476 | upstr(queue); | ^~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2494:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2494 | upstr(nname); | ^~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2496:19: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2496 | upstr(password); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2535:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2535 | strmaxcpy(serverna, servername, MAX_SERVER_NAME); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:2535:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2535 | strmaxcpy(serverna, servername, MAX_SERVER_NAME); | ^~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:2536:11: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2536 | upstr(serverna); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2551:11: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2551 | upstr(auto_ins_passwd); | ^~~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../nwdbm.c:2579:11: note: in expansion of macro 'xstrcpy' 2579 | xstrcpy(nname, pw->pw_name); | ^~~~~~~ ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:2579:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2579 | xstrcpy(nname, pw->pw_name); ../tools.h:39:42: note: in definition of macro 'xstrcpy' 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:2580:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 2580 | upstr(nname); | ^~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ^~~~~ ../nwdbm.c:2599:61: warning: pointer targets in passing argument 3 of 'get_sys_unixname' differ in signedness [-Wpointer-sign] 2599 | int result = get_sys_unixname(unixname, sysname, sysentry); | ^~~~~~~~ | | | char * ../nwdbm.c:1948:69: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1948 | static int get_sys_unixname(uint8 *unixname, uint8 *sysname, uint8 *sysentry) | ~~~~~~~^~~~~~~~ ../nwdbm.c:2602:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2602 | int unlen = strlen(unixname); | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwdbm.c:2657:48: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2657 | if (result > -1 && NULL != (p=strchr(buff, ':')) ) { | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ^~~~~~ ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2659 | if (!strcmp(buff, sysname)) { | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwdbm.c:2659:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 2659 | if (!strcmp(buff, sysname)) { | ^~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwdbm.c: In function 'nw_init_dbm_1': ../nwdbm.c:2737:36: warning: pointer targets in passing argument 2 of 'loc_delete_property' differ in signedness [-Wpointer-sign] 2737 | loc_delete_property(objs[anz], (char*)NULL, props[anz], 1); | ^ | | | char * ../nwdbm.c:361:39: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 361 | uint8 *prop_name, | ~~~~~~~^~~~~~~~~ ../nwdbm.c: In function 'import_obj': ../nwdbm.c:2891:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2891 | strmaxcpy(obj.name, name, 47); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'import_prop': ../nwdbm.c:2936:30: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 2936 | strmaxcpy(prop.name, name, 15); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'import_val': ../nwdbm.c:2977:19: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 2977 | uint8 *pp=value; | ^~~~~ ../nwdbm.c: In function 'bcreate_obj': ../nwdbm.c:3047:14: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] 3047 | downstr(buf+len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern uint8 *downstr(uint8 *ss); | ^~~~~~~ ../nwdbm.c:3062:16: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3062 | strmaxcpy(buf+len, "name.o", sizeof(buf)-1-len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:3062:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3062 | strmaxcpy(buf+len, "name.o", sizeof(buf)-1-len); | ^~~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:3063:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3063 | strmaxcpy(buf1, name, sizeof(buf1)-1); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:3063:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3063 | strmaxcpy(buf1, name, sizeof(buf1)-1); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:3064:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] 3064 | downstr(buf1); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern uint8 *downstr(uint8 *ss); | ^~~~~~~ ../nwdbm.c:3068:16: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3068 | strmaxcpy(buf+len, "typ.o", sizeof(buf)-1-len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:3068:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3068 | strmaxcpy(buf+len, "typ.o", sizeof(buf)-1-len); | ^~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:3073:16: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3073 | strmaxcpy(buf+len, "f+s.o", sizeof(buf)-1-len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:3073:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3073 | strmaxcpy(buf+len, "f+s.o", sizeof(buf)-1-len); | ^~~~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c:3033:8: warning: variable 'idlen' set but not used [-Wunused-but-set-variable] 3033 | int idlen; | ^~~~~ ../nwdbm.c: In function 'export_obj_to_dir': ../nwdbm.c:3087:30: warning: pointer targets in passing argument 2 of 'bcreate_obj' differ in signedness [-Wpointer-sign] 3087 | bcreate_obj( o->id, o->name, (int) o->type, | ~^~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:3024:42: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 3024 | static void bcreate_obj(uint32 id, char *name, int type, | ~~~~~~^~~~ ../nwdbm.c: In function 'bcreate_prop': ../nwdbm.c:3114:14: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] 3114 | downstr(buf+len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern uint8 *downstr(uint8 *ss); | ^~~~~~~ ../nwdbm.c:3119:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] 3119 | downstr(buf1); | ^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern uint8 *downstr(uint8 *ss); | ^~~~~~~ ../nwdbm.c:3125:14: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] 3125 | downstr(buf+len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 57 | extern uint8 *downstr(uint8 *ss); | ^~~~~~~ ../nwdbm.c:3132:16: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3132 | strmaxcpy(buf+len, "f+s", sizeof(buf)-1-len); | ~~~^~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwdbm.c:3132:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 3132 | strmaxcpy(buf+len, "f+s", sizeof(buf)-1-len); | ^~~~~ | | | char * In file included from ../net.h:487, from ../nwdbm.c:30: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwdbm.c: In function 'export_prop_to_dir': ../nwdbm.c:3146:47: warning: pointer targets in passing argument 3 of 'bcreate_prop' differ in signedness [-Wpointer-sign] 3146 | bcreate_prop(p->obj_id, (int) p->id, p->name, | ~^~~~~~ | | | uint8 * {aka unsigned char *} ../nwdbm.c:3095:56: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 3095 | static void bcreate_prop(uint32 id, int prop_id, char *name, | ~~~~~~^~~~ ../nwdbm.c: In function 'bcreate_val': ../nwdbm.c:3165:15: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 3165 | uint8 *p1 = buf1; | ^~~~ ../nwdbm.c:3180:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3180 | sprintf(p1, "%02x", (int) *p++); | ^~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwdbm.c:30: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ ../nwdbm.c:3162:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] 3162 | int len; | ^~~ In file included from ../net.h:69, from ../nwdbm.c:30: ../nwdbm.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ ../nwdbm.c: In function 'nw_rename_obj': ../nwdbm.c:562:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 562 | strncpy(obj->name, newname, 48); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'nw_update_oldpasswd', inlined from 'nw_set_enpasswd' at ../nwdbm.c:1573:14: ../nwdbm.c:1482:3: warning: 'memcpy' accessing 112 bytes at offsets 16 and 0 overlaps 96 bytes at offset 16 [-Wrestrict] 1482 | memcpy(segm+16,segm,128-16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'create_nw_db': ../nwdbm.c:1773:26: warning: '.dir' directive writing 4 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 1773 | sprintf(fna, "%s/%s.dir", pa, fn); | ^~~~ ../nwdbm.c:1773:7: note: 'sprintf' output 6 or more bytes (assuming 305) into a destination of size 300 1773 | sprintf(fna, "%s/%s.dir", pa, fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1776:26: warning: '.pag' directive writing 4 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 1776 | sprintf(fna, "%s/%s.pag", pa, fn); | ^~~~ ../nwdbm.c:1776:7: note: 'sprintf' output 6 or more bytes (assuming 305) into a destination of size 300 1776 | sprintf(fna, "%s/%s.pag", pa, fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_fill_standard': ../nwdbm.c:2448:17: warning: 'strncpy' output may be truncated copying 199 bytes from a string of length 255 [-Wstringop-truncation] 2448 | strncpy(command, p-1, sizeof(command)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwcrypt.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../nwcrypt.c:123:13: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, unsigned int)' [-Wbuiltin-declaration-mismatch] 123 | extern void memset(void* p, int c, int size); | ^~~~~~ ../nwcrypt.c:122:1: note: 'memset' is declared in header '' 121 | #include "nwcrypt.h" +++ |+#include 122 | ../nwcrypt.c: In function 'nw_decrypt_newpass': ../nwcrypt.c:298:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 298 | memcpy(newpwd, copy, 8); | ^~~~~~ ../nwcrypt.c:298:3: warning: incompatible implicit declaration of built-in function 'memcpy' ../nwcrypt.c:298:3: note: include '' or provide a declaration of 'memcpy' ../nwcrypt.c:300:2: warning: incompatible implicit declaration of built-in function 'memcpy' 300 | memcpy(undecr, copy, 8); | ^~~~~~ ../nwcrypt.c:300:2: note: include '' or provide a declaration of 'memcpy' ../nwcrypt.c: In function 'newpassencrypt': ../nwcrypt.c:311:2: warning: incompatible implicit declaration of built-in function 'memcpy' 311 | memcpy(copy, new, 8); | ^~~~~~ ../nwcrypt.c:311:2: note: include '' or provide a declaration of 'memcpy' cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../unxlog.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../unxlog.c:18: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../unxlog.c:18: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../sema.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../sema.c:22: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../sema.c: In function 'open_sema': ../sema.c:57:11: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 57 | se->name=xmalloc(namlen); | ^ In file included from ../net.h:69, from ../sema.c:22: ../sema.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ In file included from ../net.h:487, from ../sema.c:22: ../sema.c: In function 'handle_func_0x20': ../tools.h:77:23: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] 77 | # define XDPRINTF(x) xdprintf x | ^~~~~~~~ ../sema.c:212:23: note: 'value' was declared here 212 | int value; | ^~~~~ In file included from ../net.h:487, from ../sema.c:22: ../tools.h:77:23: warning: 'opencount' may be used uninitialized in this function [-Wmaybe-uninitialized] 77 | # define XDPRINTF(x) xdprintf x | ^~~~~~~~ ../sema.c:213:23: note: 'opencount' was declared here 213 | int opencount; | ^~~~~~~~~ In file included from ../net.h:487, from ../sema.c:22: ../tools.h:77:23: warning: 'opencount' may be used uninitialized in this function [-Wmaybe-uninitialized] 77 | # define XDPRINTF(x) xdprintf x | ^~~~~~~~ ../sema.c:183:23: note: 'opencount' was declared here 183 | int opencount; | ^~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwqueue.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwqueue.c: In function 'r_w_queue_jobs': ../nwqueue.c:242:32: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] 242 | int fd=open(get_div_pathes(path, NULL, 4, "%x/queue", q->id), | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 46 | extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); | ^~~~~~~~~~~~~~ ../nwqueue.c: In function 'build_unix_queue_file': ../nwqueue.c:323:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 323 | sprintf(buf+q->queuedir_len, "/%08lX.%03d", jo->file_entry_time, jo->job_id); | ~~~^~~~~~~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwqueue.c:19: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ ../nwqueue.c: In function 'get_qj_file_size': ../nwqueue.c:604:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 604 | if (!stat(buf, &stb)) | ^~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwqueue.c: In function 'remove_queue_job_file': ../nwqueue.c:632:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 632 | if (!stat(buf, &stb)) { | ^~~ | | | uint8 * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../nwqueue.c:633:23: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 633 | int result=unlink(buf); | ^~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../nwqueue.c:19: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../nwqueue.c: In function 'build_unix_queue_dir': ../nwqueue.c:875:40: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 875 | if (result > -1 && NULL != (p=strchr(buf1, ':')) ) { | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ^~~~~~ ../nwqueue.c:875:32: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 875 | if (result > -1 && NULL != (p=strchr(buf1, ':')) ) { | ^ ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 878 | if (!strcmp(buf1, sys_sysname)) { | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwqueue.c:878:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 878 | if (!strcmp(buf1, sys_sysname)) { | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from ../net.h:487, from ../nwqueue.c:19: ../nwqueue.c: In function 'nw_creat_queue': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 39 | #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) | ^~~ | | | char * ../nwqueue.c:914:7: note: in expansion of macro 'xstrcpy' 914 | xstrcpy(q_directory, "SYS:SYSTEM"); | ^~~~~~~ ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../nwqueue.c:918:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 918 | sprintf(path, "/%08lX.QDR", obj.id); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:28, from ../nwqueue.c:19: /usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ ../nwqueue.c:922:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 922 | q_directory, strlen(q_directory), 1); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../nwqueue.c:922:16: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] 922 | q_directory, strlen(q_directory), 1); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwqueue.c:20: ../nwdbm.h:247:18: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 247 | char *value, int valuesize, int ever); | ~~~~~~^~~~~ ../nwqueue.c:934:32: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] 934 | nwdbm_mkdir(get_div_pathes(q_directory, NULL, 4, "%x", obj.id), | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 46 | extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); | ^~~~~~~~~~~~~~ ../nwqueue.c:941:19: warning: pointer targets in passing argument 1 of 'nwdbm_mkdir' differ in signedness [-Wpointer-sign] 941 | nwdbm_mkdir(q_directory, 0775, 0); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../nwqueue.c:20: ../nwdbm.h:271:30: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 271 | extern int nwdbm_mkdir(char *unixname, int mode, int flags); | ~~~~~~^~~~~~~~ ../nwqueue.c: In function 'nw_destroy_queue': ../nwqueue.c:961:22: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] 961 | get_div_pathes(buf, NULL, 4, "%x", obj.id); | ^~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 46 | extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); | ^~~~~~~~~~~~~~ ../nwqueue.c:962:19: warning: pointer targets in passing argument 1 of 'nwdbm_rmdir' differ in signedness [-Wpointer-sign] 962 | nwdbm_rmdir(buf); | ^~~ | | | uint8 * {aka unsigned char *} In file included from ../nwqueue.c:20: ../nwdbm.h:272:30: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 272 | extern int nwdbm_rmdir(char *path); | ~~~~~~^~~~ ../nwqueue.c:975:21: warning: pointer targets in passing argument 1 of 'nwdbm_rmdir' differ in signedness [-Wpointer-sign] 975 | nwdbm_rmdir(buf); | ^~~ | | | uint8 * {aka unsigned char *} In file included from ../nwqueue.c:20: ../nwdbm.h:272:30: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 272 | extern int nwdbm_rmdir(char *path); | ~~~~~~^~~~ ../nwqueue.c:979:15: warning: operation on 'result' may be undefined [-Wsequence-point] 979 | result=result=-0xd3; /* no rights */ | ~~~~~~^~~~~~~~~~~~~ ../nwqueue.c:981:13: warning: operation on 'result' may be undefined [-Wsequence-point] 981 | result=result=-0xd3; /* no rights */ | ~~~~~~^~~~~~~~~~~~~ ../nwqueue.c: In function 'init_queues': ../nwqueue.c:992:15: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 992 | uint8 *wild="*"; | ^~~ ../nwqueue.c:1004:32: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] 1004 | nwdbm_mkdir(get_div_pathes(buf, NULL, 4, "%x", obj.id), | ^~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:487, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 46 | extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); | ^~~~~~~~~~~~~~ In file included from ../net.h:69, from ../nwqueue.c:19: ../nwqueue.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../nwbind nwbind.o emutli.o net1.o tools.o nwdbm.o nwcrypt.o unxlog.o sema.o nwqueue.o unxfile.o -lgdbm -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../dbmtool.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../dbmtool.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../dbmtool.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../dbmtool dbmtool.o emutli.o net1.o tools.o nwdbm.o nwcrypt.o unxlog.o sema.o nwqueue.o unxfile.o -lgdbm -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../ftrustee.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../ftrustee.c:19: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../ftrustee.c: In function 'get_unix_access_rights': ../ftrustee.c:130:15: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 130 | if (!access(unixname, F_OK)) { | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../ftrustee.c:19: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../ftrustee.c:132:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 132 | if (!access(unixname, R_OK)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../ftrustee.c:19: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../ftrustee.c:134:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 134 | if (!access(unixname, W_OK)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../ftrustee.c:19: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../ftrustee.c:137:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 137 | if (!access(unixname, X_OK)) | ^~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:46, from ../ftrustee.c:19: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../ftrustee.c: In function 'do_export_trustees': ../ftrustee.c:204:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 204 | strmaxcpy(fn+v->unixnamlen, ".trustees", 300-v->unixnamlen-1); | ~~^~~~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../ftrustee.c:19: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../ftrustee.c:204:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 204 | strmaxcpy(fn+v->unixnamlen, ".trustees", 300-v->unixnamlen-1); | ^~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../ftrustee.c:19: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ In file included from ../net.h:69, from ../ftrustee.c:19: ../ftrustee.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../ftrustee ftrustee.o tools.o nwfname.o unxfile.o nwvolume.o nwattrib.o trustee.o -lcrypt make[2]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' ******************************************************** don't forget to do a 'make install' as root ! please take a look into doc/NEWS ! ------01-Sep-00--- 0.99.pl20 --------- - section 1: new volume flag 'x' to work with unix ACLs ------23-Jul-98--- 0.99.pl12 --------- - changed default bindery directory location: /etc -> /var/nwserv/db ( section 45 ) ******************************************************** make: Leaving directory '/usr/src/RPM/BUILD/mars_nwe' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.8480 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/mars_nwe-buildroot + : + /bin/rm -rf -- /usr/src/tmp/mars_nwe-buildroot + cd mars_nwe + install -d -m 0700 /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/login /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/mail /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/print /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/public /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/system /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/bd + install -d -m 0755 /usr/src/tmp/mars_nwe-buildroot/var/run /usr/src/tmp/mars_nwe-buildroot/var/log /usr/src/tmp/mars_nwe-buildroot/etc /usr/src/tmp/mars_nwe-buildroot/usr/sbin + : + chmod 0644 /usr/src/tmp/mars_nwe-buildroot/var/log/mars_nwe.log + : + chmod 0644 /usr/src/tmp/mars_nwe-buildroot/var/run/mars_nwe.routes + install -m 0644 examples/nwserv.stations /usr/src/tmp/mars_nwe-buildroot/etc/ + install -s -m 0755 nwserv nwconn ncpserv nwclient nwbind /usr/src/tmp/mars_nwe-buildroot/usr/sbin/ + bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-nwserv.conf.bz2 + chmod 0600 /usr/src/tmp/mars_nwe-buildroot/etc/nwserv.conf + install -d -m 0755 /usr/src/tmp/mars_nwe-buildroot/etc/rc.d/init.d + install -d -m 0750 /usr/src/tmp/mars_nwe-buildroot/etc/logrotate.d + gzip -dc /usr/src/RPM/SOURCES/mars_nwe.init.gz + chmod 0755 /usr/src/tmp/mars_nwe-buildroot/etc/rc.d/init.d/mars_nwe + install -m 0644 /usr/src/RPM/SOURCES/mars_nwe.log /usr/src/tmp/mars_nwe-buildroot/etc/logrotate.d/mars_nwe.log + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/mars_nwe-buildroot (auto) Verifying and fixing files in /usr/src/tmp/mars_nwe-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/mars_nwe-buildroot/ (default) Compressing files in /usr/src/tmp/mars_nwe-buildroot (auto) Adjusting library links in /usr/src/tmp/mars_nwe-buildroot ./var/lib: 056-debuginfo.brp: WARNING: You have 5 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/sbin/ncpserv ./usr/sbin/nwbind ./usr/sbin/nwclient ./usr/sbin/nwconn ./usr/sbin/nwserv Verifying ELF objects in /usr/src/tmp/mars_nwe-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/nwbind: uses non-LFS functions: __lxstat __xstat fopen ftruncate mkstemp open readdir verify-elf: WARNING: ./usr/sbin/nwclient: uses non-LFS functions: __lxstat __xstat fopen verify-elf: WARNING: ./usr/sbin/ncpserv: uses non-LFS functions: __lxstat __xstat fopen verify-elf: WARNING: ./usr/sbin/nwconn: uses non-LFS functions: __lxstat __xstat creat fcntl fopen ftruncate lseek mmap open readdir statfs verify-elf: WARNING: ./usr/sbin/nwserv: uses non-LFS functions: __lxstat __xstat fopen Hardlinking identical .pyc and .pyo files Processing files: mars_nwe-0.99-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.54431 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mars_nwe + DOCDIR=/usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + export DOCDIR + rm -rf /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + /bin/mkdir -p /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + cp -prL README doc examples /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + chmod -R go-w /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + chmod -R a+rX /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UcHEKE find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cULHKH find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.seGAFE Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j053pE Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.12), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcrypt.so.1 >= set:ihuTa, libcrypt.so.1(XCRYPT_2.0), libgdbm.so.3 >= set:ifk0Qd8HlYJrqZxQWG0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Conflicts: mars-nwe Obsoletes: mars-nwe Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cgnTeG Wrote: /usr/src/RPM/RPMS/i586/mars_nwe-0.99-alt5.i586.rpm 15.89user 1.90system 0:20.81elapsed 85%CPU (0avgtext+0avgdata 41368maxresident)k 0inputs+0outputs (0major+475699minor)pagefaults 0swaps /.out/mars_nwe-0.99-alt5.i586.rpm: The use of such a license name is ambiguous: GPL 20.71user 4.94system 0:28.50elapsed 90%CPU (0avgtext+0avgdata 110092maxresident)k 0inputs+0outputs (0major+751448minor)pagefaults 0swaps --- mars_nwe-0.99-alt5.i586.rpm.repo 2017-02-22 14:21:41.000000000 +0000 +++ mars_nwe-0.99-alt5.i586.rpm.hasher 2020-10-30 08:56:10.404890440 +0000 @@ -75,3 +75,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /etc/logrotate.d @@ -87,8 +86,9 @@ Requires: libc.so.6(GLIBC_2.12) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.4) Requires: libc.so.6(GLIBC_2.7) -Requires: libcrypt.so.1 >= set:hguT2 +Requires: libcrypt.so.1 >= set:ihuTa Requires: rpmlib(SetVersions) -Requires: libcrypt.so.1(GLIBC_2.0) -Requires: libgdbm.so.3 >= set:jga0W6krcfC4LZJTKpL2 +Requires: libcrypt.so.1(XCRYPT_2.0) +Requires: libgdbm.so.3 >= set:ifk0Qd8HlYJrqZxQWG0 Requires: rtld(GNU_HASH)