The following packages will be installed: cgterm Fetching README... 0%100%100%100%100%100%Done Fetching cgterm.SlackBuild... 0%100%100%100%100%100%Done Fetching cgterm.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done cgterm-1.6/ cgterm-1.6/10x12white.bmp cgterm-1.6/10x12yellow.bmp cgterm-1.6/bell.wav cgterm-1.6/cgchat.c cgterm-1.6/cgchat.txt cgterm-1.6/cgterm.c cgterm-1.6/cgterm.txt cgterm-1.6/chat.c cgterm-1.6/chat.h cgterm-1.6/config.c cgterm-1.6/config.h cgterm-1.6/crc.c cgterm-1.6/crc.h cgterm-1.6/dir.c cgterm-1.6/dir.h cgterm-1.6/diskimage.c cgterm-1.6/diskimage.h cgterm-1.6/fileselector.c cgterm-1.6/fileselector.h cgterm-1.6/font.c cgterm-1.6/font.h cgterm-1.6/german.kbd cgterm-1.6/gfx.c cgterm-1.6/gfx.h cgterm-1.6/history.txt cgterm-1.6/kernal.c cgterm-1.6/kernal.h cgterm-1.6/keyboard.c cgterm-1.6/keyboard.h cgterm-1.6/lower.bmp cgterm-1.6/macro.c cgterm-1.6/macro.h cgterm-1.6/Makefile cgterm-1.6/makefile.win cgterm-1.6/menu.c cgterm-1.6/menu.h cgterm-1.6/net.c cgterm-1.6/net.h cgterm-1.6/punter.c cgterm-1.6/punter.h cgterm-1.6/sound.c cgterm-1.6/sound.h cgterm-1.6/status.c cgterm-1.6/status.h cgterm-1.6/swedish.kbd cgterm-1.6/testimage.c cgterm-1.6/testkbd.c cgterm-1.6/timer.c cgterm-1.6/timer.h cgterm-1.6/ui.c cgterm-1.6/ui.h cgterm-1.6/ui_chat.c cgterm-1.6/ui_term.c cgterm-1.6/upper.bmp cgterm-1.6/us.kbd cgterm-1.6/windows.kbd cgterm-1.6/xfer.c cgterm-1.6/xfer.h cgterm-1.6/xmodem.c cgterm-1.6/xmodem.h gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o cgterm.o cgterm.c cgterm.c: In function ‘print_net_status’: cgterm.c:52:17: warning: pointer targets in passing argument 1 of ‘print_ascii’ differ in signedness [-Wpointer-sign] 52 | print_ascii(message); | ^~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:25:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 25 | void print_ascii(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c: In function ‘main’: cgterm.c:204:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 204 | print("\x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:205:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 205 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:206:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 206 | print("\x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:207:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 207 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:208:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 208 | print("\x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:209:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 209 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:211:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 211 | print(" \x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:212:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 212 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:213:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 213 | print(" \x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:214:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 214 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:215:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 215 | print(" \x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:216:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 216 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:224:15: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 224 | print(" "); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:226:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 226 | print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:249:21: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 249 | if (net_connect(cfg_host, cfg_port, &print_net_status)) { | ^~~~~~~~ | | | char * In file included from cgterm.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgterm.c:250:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 250 | print("\x96" "cONNECT FAILED.\x05\x0d"); | ^~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:279:25: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 279 | if (net_connect(cfg_host, cfg_port, &print_net_status)) { | ^~~~~~~~ | | | char * In file included from cgterm.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgterm.c:280:17: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 280 | print("\x96" "rECONNECT FAILED.\x05\x0d"); | ^~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:310:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 310 | print("\x0d\x96" "dISCONNECTED!\x05\x0d"); | ^~~~~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o kernal.o kernal.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o gfx.o gfx.c gfx.c: In function ‘gfx_savescreen’: gfx.c:357:13: warning: pointer targets in passing argument 1 of ‘fputs’ differ in signedness [-Wpointer-sign] 357 | fputs(converted, f_screen); | ^~~~~~~~~ | | | unsigned char * In file included from gfx.c:1: /usr/include/stdio.h:631:42: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 631 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o net.o net.c In file included from net.c:15: net.c: In function ‘net_connect’: net.c:72:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 72 | if (isdigit((int) host[strlen(host) - 1])) { | ^~~~ | | | unsigned char * In file included from net.c:13: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ net.c:73:41: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness [-Wpointer-sign] 73 | address.sin_addr.s_addr = inet_addr(host); | ^~~~ | | | unsigned char * In file included from net.c:7: /usr/include/arpa/inet.h:34:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ net.c:75:29: warning: pointer targets in passing argument 1 of ‘gethostbyname’ differ in signedness [-Wpointer-sign] 75 | hostent = gethostbyname(host); | ^~~~ | | | unsigned char * In file included from net.c:8: /usr/include/netdb.h:142:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o config.o config.c config.c: In function ‘cfg_init’: config.c:69:7: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 69 | strncpy(prefix, argv0, l - 13); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:66:12: note: length computed here 66 | if ((l = strlen(argv0)) > 22) { | ^~~~~~~~~~~~~ config.c: In function ‘cfg_readconfig’: config.c:281:13: warning: ‘strncat’ output may be truncated copying 40 bytes from a string of length 255 [-Wstringop-truncation] 281 | strncat(keyboard, value, 40); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o keyboard.o keyboard.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o menu.o menu.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o font.o font.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o timer.o timer.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o crc.o crc.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o sound.o sound.c In file included from /usr/include/SDL/SDL.h:32, from sound.c:2: sound.c: In function ‘sound_load_sample’: sound.c:79:72: warning: pointer targets in passing argument 5 of ‘SDL_LoadWAV_RW’ differ in signedness [-Wpointer-sign] 79 | if (SDL_LoadWAV(filename, &sound_audiospec, &sound_buffer[sample], &sound_length[sample]) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~ | | | int * /usr/include/SDL/SDL_audio.h:219:69: note: in definition of macro ‘SDL_LoadWAV’ 219 | SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) | ^~~~~~~~~ /usr/include/SDL/SDL_audio.h:215:133: note: expected ‘Uint32 *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 215 | extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); | ~~~~~~~~^~~~~~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o macro.o macro.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o ui.o ui.c ui.c: In function ‘ui_connect’: ui.c:192:15: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 192 | net_connect(cfg_host, cfg_port, &ui_display_net_status); | ^~~~~~~~ | | | char * In file included from ui.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ ui.c: In function ‘ui_bookmarkkey’: ui.c:247:38: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 247 | net_connect(cfg_bookmark_host[b], cfg_bookmark_port[b], &ui_display_net_status); | ~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from ui.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ ui.c: In function ‘ui_inputcall’: ui.c:36:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 36 | strncpy(input_buffer, text, sizeof(input_buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o xfer.o xfer.c xfer.c: In function ‘xfer_copy_from_image’: xfer.c:208:32: warning: pointer targets in passing argument 2 of ‘di_read’ differ in signedness [-Wpointer-sign] 208 | while ((l = di_read(imgfile, buffer, 4096))) { | ^~~~~~ | | | char * In file included from xfer.c:13: diskimage.h:74:48: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 74 | int di_read(ImageFile *imgfile, unsigned char *buffer, int len); | ~~~~~~~~~~~~~~~^~~~~~ xfer.c: In function ‘xfer_save_file_in_image’: xfer.c:354:11: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 354 | sprintf(buf, "Saved %-24s", filename); | ^~~ | | | unsigned char * In file included from xfer.c:1: /usr/include/stdio.h:334:38: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ xfer.c:355:21: warning: pointer targets in passing argument 1 of ‘menu_draw_message’ differ in signedness [-Wpointer-sign] 355 | menu_draw_message(buf); | ^~~ | | | unsigned char * In file included from xfer.c:9: menu.h:25:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 25 | void menu_draw_message(char *message); | ~~~~~~^~~~~~~ xfer.c: In function ‘xfer_save_file_in_dir’: xfer.c:416:11: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 416 | sprintf(buf, "Saved %-24s", filename); | ^~~ | | | unsigned char * In file included from xfer.c:1: /usr/include/stdio.h:334:38: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 334 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ xfer.c:417:21: warning: pointer targets in passing argument 1 of ‘menu_draw_message’ differ in signedness [-Wpointer-sign] 417 | menu_draw_message(buf); | ^~~ | | | unsigned char * In file included from xfer.c:9: menu.h:25:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 25 | void menu_draw_message(char *message); | ~~~~~~^~~~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o xmodem.o xmodem.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o punter.o punter.c punter.c: In function ‘punter_recv_block’: punter.c:132:28: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 132 | if (strncmp("S/B", xfer_buffer, 3) == 0) { | ^~~~~~~~~~~ | | | unsigned char * In file included from punter.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:158:26: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 158 | if (strncmp("ACK", xfer_buffer, 3) == 0) { | ^~~~~~~~~~~ | | | unsigned char * In file included from punter.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:171:41: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 171 | if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { | ~~~~~~~~~~~~^~~ | | | unsigned char * In file included from punter.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:177:41: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 177 | if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { | ~~~~~~~~~~~~^~~ | | | unsigned char * In file included from punter.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:183:41: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 183 | if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { | ~~~~~~~~~~~~^~~ | | | unsigned char * In file included from punter.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o diskimage.o diskimage.c diskimage.c: In function ‘find_file_entry’: diskimage.c:585:21: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 585 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ^~~~~~~ | | | unsigned char * In file included from diskimage.c:3: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c:585:33: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 585 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ~~~^~~~~~~~~ | | | unsigned char * In file included from diskimage.c:3: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c: In function ‘alloc_file_entry’: diskimage.c:609:21: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 609 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ^~~~~~~ | | | unsigned char * In file included from diskimage.c:3: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c:609:33: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 609 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ~~~^~~~~~~~~ | | | unsigned char * In file included from diskimage.c:3: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c:598:19: warning: variable ‘lastts’ set but not used [-Wunused-but-set-variable] 598 | TrackSector ts, lastts; | ^~~~~~ diskimage.c: In function ‘di_open’: diskimage.c:662:21: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 662 | if (strcmp("$", rawname) == 0) { | ^~~~~~~ | | | unsigned char * In file included from diskimage.c:3: /usr/include/string.h:140:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ diskimage.c: In function ‘di_track_blocks_free’: diskimage.c:169:13: warning: ‘bam’ may be used uninitialized in this function [-Wmaybe-uninitialized] 169 | return(bam[track * 4]); | ^ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o dir.o dir.c dir.c: In function ‘dir_read_image’: dir.c:39:25: warning: pointer targets in passing argument 2 of ‘di_open’ differ in signedness [-Wpointer-sign] 39 | if ((fh = di_open(di, "$", T_PRG, "rb")) == NULL) { | ^~~ | | | char * In file included from dir.c:6: diskimage.h:72:50: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 72 | ImageFile *di_open(DiskImage *di, unsigned char *rawname, FileType type, char *mode); | ~~~~~~~~~~~~~~~^~~~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o fileselector.o fileselector.c fileselector.c: In function ‘fs_new’: fileselector.c:22:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 22 | fs->title = title; | ^ fileselector.c:28:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 28 | strcpy(fs->path, path); | ~~^~~~~~ | | | unsigned char * In file included from fileselector.c:3: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ fileselector.c:32:21: warning: pointer targets in passing argument 2 of ‘fs_read_dir’ differ in signedness [-Wpointer-sign] 32 | fs_read_dir(fs, fs->path); | ~~^~~~~~ | | | unsigned char * In file included from fileselector.c:7: fileselector.h:23:48: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 23 | signed int fs_read_dir(FileSelector *fs, char *path); | ~~~~~~^~~~ fileselector.c: In function ‘fs_draw’: fileselector.c:85:18: warning: pointer targets in passing argument 1 of ‘menu_fs_draw’ differ in signedness [-Wpointer-sign] 85 | menu_fs_draw(fs->title); | ~~^~~~~~~ | | | unsigned char * In file included from fileselector.c:8: menu.h:27:25: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 27 | void menu_fs_draw(char *title); | ~~~~~~^~~~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o ui_term.o ui_term.c ui_term.c: In function ‘ui_selectdirkey’: ui_term.c:95:24: warning: pointer targets in passing argument 1 of ‘cfg_change_dir’ differ in signedness [-Wpointer-sign] 95 | cfg_change_dir(fsel->path, ".."); | ~~~~^~~~~~ | | | unsigned char * In file included from ui_term.c:7: config.h:31:26: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 31 | int cfg_change_dir(char *dirbuffer, char *newdir); | ~~~~~~^~~~~~~~~ ui_term.c:96:27: warning: pointer targets in passing argument 2 of ‘fs_read_dir’ differ in signedness [-Wpointer-sign] 96 | fs_read_dir(fsel, fsel->path); | ~~~~^~~~~~ | | | unsigned char * In file included from ui_term.c:14: fileselector.h:23:48: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 23 | signed int fs_read_dir(FileSelector *fs, char *path); | ~~~~~~^~~~ ui_term.c:104:28: warning: pointer targets in passing argument 1 of ‘cfg_change_dir’ differ in signedness [-Wpointer-sign] 104 | cfg_change_dir(fsel->path, fsel->selectedfile->name); | ~~~~^~~~~~ | | | unsigned char * In file included from ui_term.c:7: config.h:31:26: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 31 | int cfg_change_dir(char *dirbuffer, char *newdir); | ~~~~~~^~~~~~~~~ ui_term.c:105:31: warning: pointer targets in passing argument 2 of ‘fs_read_dir’ differ in signedness [-Wpointer-sign] 105 | fs_read_dir(fsel, fsel->path); | ~~~~^~~~~~ | | | unsigned char * In file included from ui_term.c:14: fileselector.h:23:48: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 23 | signed int fs_read_dir(FileSelector *fs, char *path); | ~~~~~~^~~~ ui_term.c: In function ‘select_set_xferdir’: ui_term.c:164:25: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 164 | strcpy(cfg_xferdir, fs->path); | ~~^~~~~~ | | | unsigned char * In file included from ui_term.c:3: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ui_term.c: In function ‘ui_metakey’: ui_term.c:240:21: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 240 | net_connect(cfg_host, cfg_port, &ui_display_net_status); | ^~~~~~~~ | | | char * In file included from ui_term.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ gcc -o cgterm cgterm.o kernal.o gfx.o net.o config.o keyboard.o menu.o font.o timer.o crc.o sound.o macro.o ui.o xfer.o xmodem.o punter.o diskimage.o dir.o fileselector.o ui_term.o `sdl-config --libs` gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o cgchat.o cgchat.c cgchat.c: In function ‘print_banner’: cgchat.c:47:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 47 | print("\x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:48:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 48 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:49:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 49 | print("\x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:50:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 50 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:51:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 51 | print("\x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:52:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 52 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:54:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 54 | print(" \x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:55:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 55 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:56:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 56 | print(" \x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:57:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 57 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:58:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 58 | print(" \x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:59:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 59 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c: In function ‘main’: cgchat.c:181:15: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 181 | print(" "); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:183:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 183 | print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:209:17: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 209 | net_connect(cfg_host, cfg_port, &chat_print_net_status); | ^~~~~~~~ | | | char * In file included from cgchat.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgchat.c:230:21: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 230 | net_connect(cfg_host, cfg_port, &chat_print_net_status); | ^~~~~~~~ | | | char * In file included from cgchat.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgchat.c:258:26: warning: pointer targets in passing argument 1 of ‘chat_print_msg’ differ in signedness [-Wpointer-sign] 258 | chat_print_msg("locl:lINEBUFFER FULL"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:14: chat.h:4:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 4 | void chat_print_msg(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o chat.o chat.c chat.c: In function ‘print_msg’: chat.c:41:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 41 | if (strlen(msg) < 5) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ chat.c:42:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 42 | print("\x96" "sERVER SENT GARBAGE!\x0d"); | ^~~~~~ | | | char * In file included from chat.c:4: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:46:24: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 46 | if (strncmp("helo:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:47:28: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 47 | if (strncmp("64chat ", data, 7) != 0) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:48:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 48 | print("mALFORMED SERVER MESSAGE\x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from chat.c:4: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:54:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 54 | } else if (strncmp("talk:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:55:21: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 55 | if ((p = strchr(data, ':')) == NULL) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:55:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 55 | if ((p = strchr(data, ':')) == NULL) { | ^ chat.c:56:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 56 | print("\x96" "mALFORMED SERVER MESSAGE\x0d"); | ^~~~~~ | | | char * In file included from chat.c:4: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:66:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 66 | } else if (strncmp("mesg:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:67:21: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 67 | if ((p = strchr(data, ':')) == NULL) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:67:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 67 | if ((p = strchr(data, ':')) == NULL) { | ^ chat.c:68:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 68 | print("\x96" "mALFORMED SERVER MESSAGE\x0d"); | ^~~~~~ | | | char * In file included from chat.c:4: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:78:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 78 | } else if (strncmp("stat:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:82:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 82 | } else if (strncmp("locl:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:86:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 86 | } else if (strncmp("info:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:90:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 90 | } else if (strncmp("noop:", msg, 5) == 0) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:93:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 93 | print("\x96" "uNKNOWN SERVER MESSAGE\x0d"); | ^~~~~~ | | | char * In file included from chat.c:4: kernal.h:24:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c: In function ‘chat_print_net_status’: chat.c:128:15: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 128 | print_msg(msg); | ^~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c: In function ‘parse_cmd’: chat.c:142:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 142 | strcpy(outdata, "talk:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:145:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 145 | if (strlen(outdata + 5) == 0) { | ~~~~~~~~^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ chat.c:152:41: warning: pointer targets in passing argument 3 of ‘gfx_conv_screen_to_pet’ differ in signedness [-Wpointer-sign] 152 | gfx_conv_screen_to_pet(chars, colors, cmd, &color, &rev, 0, input_len); | ^~~ | | | char * In file included from chat.c:5: gfx.h:31:89: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 31 | void gfx_conv_screen_to_pet(unsigned char *chars, unsigned char *colors, unsigned char *petsciibuf, int *lastcolor, int *reverse, int addcr, int width); | ~~~~~~~~~~~~~~~^~~~~~~~~~ chat.c:153:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 153 | if ((data = strchr(cmd, ' '))) { | ^ chat.c:159:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 159 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:159:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 159 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:160:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 160 | strcpy(outdata, "regi:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:162:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 162 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:162:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 162 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:164:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 164 | print_msg("locl:uSAGE: /REG "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:170:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 170 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:170:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 170 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:171:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 171 | strcpy(outdata, "auth:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:173:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 173 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:173:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 173 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:175:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 175 | print_msg("locl:uSAGE: /LOGIN "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:182:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 182 | strcpy(outdata, "nick:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:183:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 183 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:183:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 183 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:185:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 185 | print_msg("locl:uSAGE: /NICK "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:191:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 191 | strcpy(outdata, "quit:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:193:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 193 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:193:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 193 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:195:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 195 | strcat(outdata, "nO REASON"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:205:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 205 | strcpy(outdata, "quit:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:207:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 207 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:207:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 207 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:209:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 209 | strcat(outdata, "nO REASON"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:215:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 215 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:215:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 215 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:216:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 216 | strcpy(outdata, "mesg:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:218:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 218 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:218:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 218 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:220:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 220 | print_msg("locl:uSAGE: /MSG "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:226:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 226 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:226:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 226 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:227:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 227 | strcpy(outdata, "pass:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:229:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 229 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:229:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 229 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:231:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 231 | print_msg("locl:uSAGE: /PASS "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:237:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 237 | strcpy(outdata, "whol"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:242:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 242 | strcpy(outdata, "whoi:"); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:243:14: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 243 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ chat.c:243:23: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 243 | strcat(outdata, data); | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ chat.c:245:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 245 | print_msg("locl:uSAGE: /WHOIS "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:258:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 258 | print_msg("locl:aLREADY CONNECTED"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:262:23: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 262 | if ((p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:262:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 262 | if ((p = strchr(data, ' '))) { | ^ chat.c:264:27: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 264 | cfg_port = strtol(p, (char **)NULL, 10); | ^ | | | unsigned char * In file included from chat.c:2: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ chat.c:266:21: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 266 | print_msg("locl:iLLEGAL PORT NUMBER"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:272:19: warning: pointer targets in passing argument 1 of ‘cfg_sethost’ differ in signedness [-Wpointer-sign] 272 | cfg_sethost(data); | ^~~~ | | | unsigned char * In file included from chat.c:6: config.h:30:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 30 | void cfg_sethost(char *h); | ~~~~~~^ chat.c:273:19: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 273 | net_connect(cfg_host, cfg_port, &chat_print_net_status); | ^~~~~~~~ | | | char * In file included from chat.c:9: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ chat.c:275:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 275 | print_msg("locl:uSAGE: /CONNECT [port]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:281:15: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] 281 | print_msg("locl:uNKNOWN COMMAND"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c: In function ‘chat_inputkey’: chat.c:310:45: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 310 | i = strlen(input_buffer + input_pos + input_offset) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o status.o status.c gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o ui_chat.o ui_chat.c ui_chat.c: In function ‘ui_metakey’: ui_chat.c:88:21: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] 88 | net_connect(cfg_host, cfg_port, &ui_display_net_status); | ^~~~~~~~ | | | char * In file included from ui_chat.c:8: net.h:1:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ gcc -o cgchat cgchat.o kernal.o gfx.o net.o config.o keyboard.o menu.o font.o timer.o crc.o sound.o macro.o ui.o chat.o status.o ui_chat.o `sdl-config --libs` gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o testkbd.o testkbd.c testkbd.c: In function ‘main’: testkbd.c:101:20: warning: variable ‘alt’ set but not used [-Wunused-but-set-variable] 101 | int shift, ctrl, alt; | ^~~ testkbd.c:101:14: warning: variable ‘ctrl’ set but not used [-Wunused-but-set-variable] 101 | int shift, ctrl, alt; | ^~~~ testkbd.c:101:7: warning: variable ‘shift’ set but not used [-Wunused-but-set-variable] 101 | int shift, ctrl, alt; | ^~~~~ gcc -o testkbd testkbd.o `sdl-config --libs` strip cgterm cp cgterm /usr/src/slapt-src-x86_64/network/cgterm/package-cgterm/usr/bin/ cp cgchat /usr/src/slapt-src-x86_64/network/cgterm/package-cgterm/usr/bin/ cp *.bmp *.kbd *.wav /usr/src/slapt-src-x86_64/network/cgterm/package-cgterm/usr/share/cgterm/ Slackware package maker, version 3.14159265. Searching for symbolic links: usr/share/cgterm/keyboard.kbd /usr/share/cgterm/us.kbd Making symbolic link creation script: ( cd usr/share/cgterm ; rm -rf keyboard.kbd ) ( cd usr/share/cgterm ; ln -sf /usr/share/cgterm/us.kbd keyboard.kbd ) It is recommended that you make these lines your new installation script. Would you like to make this stuff the install script for this package and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/share/cgterm/keyboard.kbd' Creating your new ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-x86_64/network/cgterm/cgterm-1.6-x86_64-1salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/cgchat usr/bin/cgterm usr/doc/ usr/doc/cgterm-1.6/ usr/doc/cgterm-1.6/cgchat.txt usr/doc/cgterm-1.6/cgterm.SlackBuild usr/doc/cgterm-1.6/cgterm.txt usr/doc/cgterm-1.6/history.txt usr/share/ usr/share/cgterm/ usr/share/cgterm/10x12white.bmp usr/share/cgterm/10x12yellow.bmp usr/share/cgterm/bell.wav usr/share/cgterm/german.kbd usr/share/cgterm/lower.bmp usr/share/cgterm/swedish.kbd usr/share/cgterm/upper.bmp usr/share/cgterm/us.kbd usr/share/cgterm/windows.kbd Slackware package /usr/src/slapt-src-x86_64/network/cgterm/cgterm-1.6-x86_64-1salix15.0.txz created. Installing package cgterm-1.6-x86_64-1salix15.0... | cgterm (C/G telnet & 64CHAT client) | | CGTerm is a C/G telnet client that lets you connect to C64 telnet | BBS:s with the correct colours and the correct font. | Also included is a client for 64CHAT called CGChat. | | Homepage: https://paradroid.automac.se/cgterm/ | | | | | |