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] print_ascii(message); ^ In file included from cgterm.c:6:0: kernal.h:25:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] 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 "); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:205:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x12\x1f \x92 \x12 "); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:206:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f "); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:207:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x12\x1f \x92 \x12 "); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:208:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 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 "); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:209:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x92\x05\x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:211:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 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"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:212:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x12\x1f \x92 \x12 \x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:213:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f \x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:214:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x12\x1f \x92 \x12 \x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:215:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 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"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:216:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x92\x05\x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:224:8: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" "); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:226:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:249:21: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] if (net_connect(cfg_host, cfg_port, &print_net_status)) { ^ In file included from cgterm.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] print("\x96" "cONNECT FAILED.\x05\x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:279:18: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] if (net_connect(cfg_host, cfg_port, &print_net_status)) { ^ In file included from cgterm.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int net_connect(unsigned char *host, int port, void (*status)(int, char *)); ^ cgterm.c:280:10: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x96" "rECONNECT FAILED.\x05\x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgterm.c:310:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x0d\x96" "dISCONNECTED!\x05\x0d"); ^ In file included from cgterm.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] fputs(converted, f_screen); ^ In file included from gfx.c:1:0: /usr/include/stdio.h:689:12: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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:0: net.c: In function ‘net_connect’: net.c:72:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (isdigit((int) host[strlen(host) - 1])) { ^ In file included from net.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] address.sin_addr.s_addr = inet_addr(host); ^ In file included from net.c:7:0: /usr/include/arpa/inet.h:34:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] hostent = gethostbyname(host); ^ In file included from net.c:8:0: /usr/include/netdb.h:144:24: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern struct hostent *gethostbyname (const char *__name); ^ gcc -O2 -fPIC -Wall `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o config.o config.c 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:0, 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] if (SDL_LoadWAV(filename, &sound_audiospec, &sound_buffer[sample], &sound_length[sample]) == NULL) { ^ /usr/include/SDL/SDL_audio.h:219:62: note: in definition of macro ‘SDL_LoadWAV’ SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) ^ In file included from /usr/include/SDL/SDL.h:32:0, from sound.c:2: /usr/include/SDL/SDL_audio.h:215:41: note: expected ‘Uint32 * {aka unsigned int *}’ but argument is of type ‘int *’ 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] net_connect(cfg_host, cfg_port, &ui_display_net_status); ^ In file included from ui.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int net_connect(unsigned char *host, int port, void (*status)(int, char *)); ^ ui.c: In function ‘ui_bookmarkkey’: ui.c:247:14: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] net_connect(cfg_bookmark_host[b], cfg_bookmark_port[b], &ui_display_net_status); ^ In file included from ui.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int net_connect(unsigned char *host, int port, void (*status)(int, char *)); ^ 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] while ((l = di_read(imgfile, buffer, 4096))) { ^ In file included from xfer.c:13:0: diskimage.h:74:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] sprintf(buf, "Saved %-24s", filename); ^ In file included from xfer.c:1:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] menu_draw_message(buf); ^ In file included from xfer.c:9:0: menu.h:25:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 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] sprintf(buf, "Saved %-24s", filename); ^ In file included from xfer.c:1:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] menu_draw_message(buf); ^ In file included from xfer.c:9:0: menu.h:25:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 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 In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c: In function ‘punter_recv_block’: punter.c:132:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:132:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:132:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ punter.c:132:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:132:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ punter.c:132:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:132:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:132:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ punter.c:132:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:132:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ punter.c:132:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:132:21: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("S/B", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:158:26: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:158:26: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:158:26: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ punter.c:158:26: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:158:26: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ punter.c:158:26: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:158:26: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:158:26: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ punter.c:158:26: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:158:26: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ punter.c:158:26: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:158:26: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACK", xfer_buffer, 3) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:171:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:171:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:171:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ punter.c:171:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:171:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ punter.c:171:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:171:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:171:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ punter.c:171:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:171:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ punter.c:171:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:171:29: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:177:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:177:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:177:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ punter.c:177:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:177:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ punter.c:177:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:177:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:177:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ punter.c:177:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:177:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ punter.c:177:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:177:29: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:183:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:183:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:183:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ punter.c:183:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:183:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ punter.c:183:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:183:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from punter.c:1: punter.c:183:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ punter.c:183:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:183:29: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ punter.c:183:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ punter.c:183:29: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { ^ In file included from punter.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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 In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c: In function ‘find_file_entry’: diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:585:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:585:14: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:585:23: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c: In function ‘alloc_file_entry’: diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:23: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ diskimage.c:609:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:609:14: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:609:23: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(rawname, rde->rawname, 16) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] TrackSector ts, lastts; ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c: In function ‘di_open’: diskimage.c:662:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp("$", rawname) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:662:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp("$", rawname) == 0) { ^ diskimage.c:662:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:662:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp("$", rawname) == 0) { ^ diskimage.c:662:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:662:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp("$", rawname) == 0) { ^ In file included from diskimage.c:3:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from diskimage.c:3: diskimage.c:662:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp("$", rawname) == 0) { ^ diskimage.c:662:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c:662:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp("$", rawname) == 0) { ^ diskimage.c:662:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ diskimage.c: In function ‘di_track_blocks_free’: diskimage.c:169:13: warning: ‘bam’ may be used uninitialized in this function [-Wmaybe-uninitialized] 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] if ((fh = di_open(di, "$", T_PRG, "rb")) == NULL) { ^ In file included from dir.c:6:0: diskimage.h:72:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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 differ in signedness [-Wpointer-sign] fs->title = title; ^ fileselector.c:28:10: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(fs->path, path); ^ In file included from fileselector.c:3:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ fileselector.c:32:19: warning: pointer targets in passing argument 2 of ‘fs_read_dir’ differ in signedness [-Wpointer-sign] fs_read_dir(fs, fs->path); ^ In file included from fileselector.c:7:0: fileselector.h:23:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ signed int fs_read_dir(FileSelector *fs, char *path); ^ fileselector.c: In function ‘fs_draw’: fileselector.c:85:16: warning: pointer targets in passing argument 1 of ‘menu_fs_draw’ differ in signedness [-Wpointer-sign] menu_fs_draw(fs->title); ^ In file included from fileselector.c:8:0: menu.h:27:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 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:20: warning: pointer targets in passing argument 1 of ‘cfg_change_dir’ differ in signedness [-Wpointer-sign] cfg_change_dir(fsel->path, ".."); ^ In file included from ui_term.c:7:0: config.h:31:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int cfg_change_dir(char *dirbuffer, char *newdir); ^ ui_term.c:96:23: warning: pointer targets in passing argument 2 of ‘fs_read_dir’ differ in signedness [-Wpointer-sign] fs_read_dir(fsel, fsel->path); ^ In file included from ui_term.c:14:0: fileselector.h:23:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ signed int fs_read_dir(FileSelector *fs, char *path); ^ ui_term.c:104:17: warning: pointer targets in passing argument 1 of ‘cfg_change_dir’ differ in signedness [-Wpointer-sign] cfg_change_dir(fsel->path, fsel->selectedfile->name); ^ In file included from ui_term.c:7:0: config.h:31:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int cfg_change_dir(char *dirbuffer, char *newdir); ^ ui_term.c:105:20: warning: pointer targets in passing argument 2 of ‘fs_read_dir’ differ in signedness [-Wpointer-sign] fs_read_dir(fsel, fsel->path); ^ In file included from ui_term.c:14:0: fileselector.h:23:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ signed int fs_read_dir(FileSelector *fs, char *path); ^ ui_term.c: In function ‘select_set_xferdir’: ui_term.c:164:23: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(cfg_xferdir, fs->path); ^ In file included from ui_term.c:3:0: /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ ui_term.c: In function ‘ui_metakey’: ui_term.c:240:14: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] net_connect(cfg_host, cfg_port, &ui_display_net_status); ^ In file included from ui_term.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] 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 "); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:48:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x12\x1f \x92 \x12 "); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:49:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f "); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:50:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x12\x1f \x92 \x12 "); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:51:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 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 "); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:52:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x92\x05\x0d"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:54:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 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"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:55:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x12\x1f \x92 \x12 \x0d"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:56:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f \x0d"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:57:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x12\x1f \x92 \x12 \x0d"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:58:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] 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"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:59:11: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x92\x05\x0d"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c: In function ‘main’: cgchat.c:181:8: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" "); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:183:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); ^ In file included from cgchat.c:6:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ cgchat.c:209:17: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] net_connect(cfg_host, cfg_port, &chat_print_net_status); ^ In file included from cgchat.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int net_connect(unsigned char *host, int port, void (*status)(int, char *)); ^ cgchat.c:230:14: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] net_connect(cfg_host, cfg_port, &chat_print_net_status); ^ In file included from cgchat.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int net_connect(unsigned char *host, int port, void (*status)(int, char *)); ^ cgchat.c:258:19: warning: pointer targets in passing argument 1 of ‘chat_print_msg’ differ in signedness [-Wpointer-sign] chat_print_msg("locl:lINEBUFFER FULL"); ^ In file included from cgchat.c:14:0: chat.h:4:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] if (strlen(msg) < 5) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] print("\x96" "sERVER SENT GARBAGE!\x0d"); ^ In file included from chat.c:4:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:46:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:46:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:46:24: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ chat.c:46:24: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:46:24: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ chat.c:46:24: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:46:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:46:24: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ chat.c:46:24: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:46:24: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ chat.c:46:24: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:46:24: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("helo:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:47:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:47:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:47:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ chat.c:47:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:47:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ chat.c:47:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:47:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:47:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ chat.c:47:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:47:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ chat.c:47:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:47:28: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp("64chat ", data, 7) != 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] print("mALFORMED SERVER MESSAGE\x0d"); ^ In file included from chat.c:4:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:54:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:54:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:54:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ chat.c:54:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:54:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ chat.c:54:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:54:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:54:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ chat.c:54:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:54:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ chat.c:54:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:54:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("talk:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:55:21: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if ((p = strchr(data, ':')) == NULL) { ^ chat.c:55:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:55:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = strchr(data, ':')) == NULL) { ^ chat.c:56:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x96" "mALFORMED SERVER MESSAGE\x0d"); ^ In file included from chat.c:4:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:66:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:66:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:66:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ chat.c:66:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:66:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ chat.c:66:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:66:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:66:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ chat.c:66:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:66:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ chat.c:66:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:66:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("mesg:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:67:21: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if ((p = strchr(data, ':')) == NULL) { ^ chat.c:67:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:67:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = strchr(data, ':')) == NULL) { ^ chat.c:68:13: warning: pointer targets in passing argument 1 of ‘print’ differ in signedness [-Wpointer-sign] print("\x96" "mALFORMED SERVER MESSAGE\x0d"); ^ In file included from chat.c:4:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print(unsigned char *s); ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:78:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:78:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:78:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ chat.c:78:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:78:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ chat.c:78:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:78:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:78:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ chat.c:78:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:78:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ chat.c:78:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:78:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("stat:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:82:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:82:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:82:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ chat.c:82:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:82:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ chat.c:82:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:82:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:82:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ chat.c:82:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:82:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ chat.c:82:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:82:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("locl:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:86:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:86:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:86:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ chat.c:86:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:86:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ chat.c:86:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:86:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:86:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ chat.c:86:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:86:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ chat.c:86:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:86:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("info:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:90:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:90:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:90:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ chat.c:90:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:90:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ chat.c:90:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:90:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:90:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ chat.c:90:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:90:31: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ chat.c:90:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:90:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp("noop:", msg, 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] print("\x96" "uNKNOWN SERVER MESSAGE\x0d"); ^ In file included from chat.c:4:0: kernal.h:24:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] print_msg(msg); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] strcpy(outdata, "talk:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ chat.c:145:16: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strlen(outdata + 5) == 0) { ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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] gfx_conv_screen_to_pet(chars, colors, cmd, &color, &rev, 0, input_len); ^ In file included from chat.c:5:0: gfx.h:31:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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 differ in signedness [-Wpointer-sign] if ((data = strchr(cmd, ' '))) { ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:159:29: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:159:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:159:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:160:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "regi:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] print_msg("locl:uSAGE: /REG "); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:170:29: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:170:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:170:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:171:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "auth:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] print_msg("locl:uSAGE: /LOGIN "); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ chat.c:182:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "nick:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] print_msg("locl:uSAGE: /NICK "); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ chat.c:191:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "quit:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, "nO REASON"); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcpy(outdata, "quit:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, "nO REASON"); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:215:29: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:215:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:215:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:216:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "mesg:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] print_msg("locl:uSAGE: /MSG "); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:226:29: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:226:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:226:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (data && (p = strchr(data, ' '))) { ^ chat.c:227:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "pass:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] print_msg("locl:uSAGE: /PASS "); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ chat.c:237:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outdata, "whol"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcpy(outdata, "whoi:"); ^ In file included from chat.c:1:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 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] strcat(outdata, data); ^ In file included from chat.c:1:0: /usr/include/string.h:133:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 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] print_msg("locl:uSAGE: /WHOIS "); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] print_msg("locl:aLREADY CONNECTED"); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ In file included from /usr/include/string.h:630:0, from chat.c:1: chat.c:262:23: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] if ((p = strchr(data, ' '))) { ^ chat.c:262:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ chat.c:262:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = strchr(data, ' '))) { ^ chat.c:264:20: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] cfg_port = strtol(p, (char **)NULL, 10); ^ In file included from chat.c:2:0: /usr/include/stdlib.h:183:17: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ extern long int strtol (const char *__restrict __nptr, ^ chat.c:266:14: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] print_msg("locl:iLLEGAL PORT NUMBER"); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] cfg_sethost(data); ^ In file included from chat.c:6:0: config.h:30:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ void cfg_sethost(char *h); ^ chat.c:273:19: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] net_connect(cfg_host, cfg_port, &chat_print_net_status); ^ In file included from chat.c:9:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] print_msg("locl:uSAGE: /CONNECT [port]"); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] print_msg("locl:uNKNOWN COMMAND"); ^ chat.c:37:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void print_msg(unsigned char *msg) { ^ chat.c: In function ‘chat_inputkey’: chat.c:310:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] i = strlen(input_buffer + input_pos + input_offset) + 1; ^ In file included from chat.c:1:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 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:14: warning: pointer targets in passing argument 1 of ‘net_connect’ differ in signedness [-Wpointer-sign] net_connect(cfg_host, cfg_port, &ui_display_net_status); ^ In file included from ui_chat.c:8:0: net.h:1:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] int shift, ctrl, alt; ^ testkbd.c:101:14: warning: variable ‘ctrl’ set but not used [-Wunused-but-set-variable] int shift, ctrl, alt; ^ testkbd.c:101:7: warning: variable ‘shift’ set but not used [-Wunused-but-set-variable] int shift, ctrl, alt; ^ gcc -o testkbd testkbd.o `sdl-config --libs` strip cgterm cp cgterm /usr/src/slapt-src/network/cgterm/package-cgterm/usr/bin/ cp cgchat /usr/src/slapt-src/network/cgterm/package-cgterm/usr/bin/ cp *.bmp *.kbd *.wav /usr/src/slapt-src/network/cgterm/package-cgterm/usr/share/cgterm/ Slackware package maker, version 3.141593. 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/network/cgterm/cgterm-1.6-x86_64-1salix.txz ./ usr/ usr/bin/ usr/bin/cgterm usr/bin/cgchat usr/doc/ usr/doc/cgterm-1.6/ usr/doc/cgterm-1.6/cgchat.txt usr/doc/cgterm-1.6/history.txt usr/doc/cgterm-1.6/cgterm.txt usr/doc/cgterm-1.6/cgterm.SlackBuild usr/share/ usr/share/cgterm/ usr/share/cgterm/upper.bmp usr/share/cgterm/windows.kbd usr/share/cgterm/german.kbd usr/share/cgterm/swedish.kbd usr/share/cgterm/10x12yellow.bmp usr/share/cgterm/bell.wav usr/share/cgterm/lower.bmp usr/share/cgterm/us.kbd usr/share/cgterm/10x12white.bmp install/ install/doinst.sh install/slack-desc Slackware package /usr/src/slapt-src/network/cgterm/cgterm-1.6-x86_64-1salix.txz created. Installing package cgterm-1.6-x86_64-1salix... | 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: http://www.paradroid.net/cgterm/ | | | | | |