The following packages will be installed: convertlit Fetching README... 0%100%100%100%100%100%Done Fetching convertlit.1... 0%100%100%100%100%100%Done Fetching convertlit.SlackBuild... 0%100%100%100%100%100%Done Fetching convertlit.info... 0%100%100%100%100%100%Done Fetching lit2epub... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Archive: /usr/src/slapt-src/office/convertlit/convertlit18src.zip inflating: README creating: clit18/ creating: lib/ inflating: clit18/clit.c inflating: clit18/Makefile inflating: clit18/clit.h inflating: clit18/drm5.c inflating: clit18/COPYING inflating: clit18/display.c inflating: clit18/explode.c inflating: clit18/hexdump.c inflating: clit18/manifest.c inflating: clit18/manifest.h inflating: clit18/transmute.c inflating: clit18/utils.c inflating: clit18/utils.h inflating: clit18/win32.mak inflating: lib/litatom.c inflating: lib/Makefile inflating: lib/litdirectory.c inflating: lib/win32.mak inflating: lib/litdrm.c inflating: lib/litembiggen.c inflating: lib/litheaders.c inflating: lib/litinternal.h inflating: lib/litlib.c inflating: lib/litlib.h inflating: lib/litmanifest.c inflating: lib/litmetatags.c inflating: lib/litsections.c inflating: lib/littags.c inflating: lib/littags.h inflating: lib/littypes.h inflating: lib/litutil.c creating: lib/des/ creating: lib/lzx/ creating: lib/newlzx/ creating: lib/sha/ inflating: lib/des/d3des.h inflating: lib/des/des.c inflating: lib/des/spr.h inflating: lib/lzx/lzx.c inflating: lib/lzx/lzx.h inflating: lib/lzx/lzx_int.h inflating: lib/newlzx/lzx.h inflating: lib/newlzx/lzxd.c inflating: lib/newlzx/lzxglue.c inflating: lib/newlzx/mspack.h inflating: lib/newlzx/system.h inflating: lib/sha/mssha1.c inflating: lib/sha/sha.h make: Entering directory '/usr/src/slapt-src/office/convertlit/convertlit18src/lib' cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litatom.o litatom.c In file included from /usr/include/string.h:630:0, from litatom.c:25: litatom.c: In function ‘lit_read_atoms’: litatom.c:123:19: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign] strncpy(s,p + 1, len); ^ litatom.c:123:19: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litatom.c:186:19: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign] strncpy(s,p, len); ^ litatom.c:186:19: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litdrm.o litdrm.c In file included from /usr/include/string.h:630:0, from litdrm.c:25: litdrm.c: In function ‘lit_i_read_drm’: litdrm.c:135:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ In file included from litdrm.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litdrm.c:25: litdrm.c:135:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ In file included from litdrm.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litdrm.c:25: litdrm.c:135:33: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ litdrm.c:135:33: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litdrm.c:135:33: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ litdrm.c:135:33: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litdrm.c:135:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ In file included from litdrm.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litdrm.c:25: litdrm.c:135:33: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ litdrm.c:135:33: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litdrm.c:135:33: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ litdrm.c:135:33: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litdrm.c:135:33: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^ In file included from litdrm.c:25:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ litdrm.c: In function ‘lit_change_drm_level’: litdrm.c:250:52: warning: pointer targets in passing argument 2 of ‘lit_i_encrypt_section’ differ in signedness [-Wpointer-sign] status = lit_i_encrypt_section(litfile,litfile->sections[i].name, ^ In file included from litdrm.c:28:0: litinternal.h:52:5: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ int lit_i_encrypt_section(lit_file *,char *, U8 * new_key); ^ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litlib.o litlib.c litlib.c: In function ‘lit_write_to_file’: litlib.c:189:47: warning: pointer targets in passing argument 2 of ‘lit_get_file’ differ in signedness [-Wpointer-sign] status = lit_get_file(litfile,&entry->name,&ptr,&nbytes); ^ In file included from litlib.c:26:0: litlib.h:232:5: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); ^ litlib.c: In function ‘lit_get_file’: litlib.c:235:29: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] match = strncasecmp(&entry->name, name, entry->namelen); ^ In file included from litlib.c:25:0: /usr/include/string.h:533:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ litlib.c: In function ‘lit_remove_files’: litlib.c:361:29: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] match = strncasecmp(&entry->name,prefix, strlen(prefix)); ^ In file included from litlib.c:25:0: /usr/include/string.h:533:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ litlib.c: In function ‘lit_put_file’: litlib.c:400:29: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] match = strncasecmp(&entry->name, name, entry->namelen); ^ In file included from litlib.c:25:0: /usr/include/string.h:533:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ litlib.c:429:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(&new->name, name); ^ In file included from litlib.c:25:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litembiggen.o litembiggen.c litembiggen.c: In function ‘lit_reconstitute_html’: litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:286:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\n'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:286:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\n'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:290:25: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:290:25: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:304:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('<'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:304:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('<'); ^ litembiggen.c:340:30: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] WRITE_STRING(tag_name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:340:30: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ WRITE_STRING(tag_name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:360:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:360:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:361:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('/'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:361:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('/'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:362:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('>'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:362:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('>'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:366:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('>'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:366:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('>'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:420:25: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\n'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:420:25: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\n'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:423:29: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:423:29: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:426:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('<'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:426:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('<'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:427:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('/'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:427:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('/'); ^ litembiggen.c:428:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] WRITE_STRING(tag_name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:428:34: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ WRITE_STRING(tag_name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:429:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('>'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:429:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('>'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:478:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:478:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:479:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] WRITE_STRING(numbuf); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:479:34: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ WRITE_STRING(numbuf); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:488:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:488:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:489:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] WRITE_STRING((char *)tmp_map->name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:489:34: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ WRITE_STRING((char *)tmp_map->name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:493:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('='); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:493:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('='); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:508:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:508:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:513:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:513:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:532:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] WRITE_STRING(numbuf); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:532:34: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ WRITE_STRING(numbuf); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:547:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:547:21: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:575:30: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] WRITE_STRING(tag_name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:575:30: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ WRITE_STRING(tag_name); ^ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:587:13: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:587:13: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR(' '); ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:595:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('='); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:595:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('='); ^ In file included from /usr/include/string.h:630:0, from litembiggen.c:27: litembiggen.c:622:35: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness [-Wpointer-sign] hash_ptr = strchr(href_value,'#'); ^ litembiggen.c:622:35: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litembiggen.c:622:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hash_ptr = strchr(href_value,'#'); ^ litembiggen.c:624:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_href = lit_lookup_mapping(pManifest, href_value, ^ litembiggen.c:627:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_href = lit_lookup_mapping(pManifest, href_value, ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:629:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:629:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:631:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] WRITE_STRING(new_href); ^ litembiggen.c:69:44: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ In file included from litembiggen.c:27:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ litembiggen.c:633:38: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] WRITE_STRING(hash_ptr); ^ litembiggen.c:69:44: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ In file included from litembiggen.c:27:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ litembiggen.c:637:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] WRITE_STRING(href_value); ^ litembiggen.c:69:44: note: in definition of macro ‘WRITE_STRING’ status = htmlwrite(write_data,s,strlen(s));\ ^ In file included from litembiggen.c:27:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:639:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c:64:35: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ status = htmlwrite(write_data,&ch,1);\ ^ litembiggen.c:639:17: note: in expansion of macro ‘WRITE_CHAR’ WRITE_CHAR('\"'); ^ litembiggen.c: In function ‘write_entity’: litembiggen.c:690:39: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch, 1); ^ litembiggen.c:690:39: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ litembiggen.c:694:39: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,entities[found].name, ^ litembiggen.c:694:39: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ litembiggen.c:699:39: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] status = htmlwrite(write_data,&ch, 1); ^ litembiggen.c:699:39: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ litembiggen.c:712:37: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] return htmlwrite(write_data,ent_buffer,len); ^ litembiggen.c:712:37: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o littags.o littags.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litmetatags.o litmetatags.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litmanifest.o litmanifest.c In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c: In function ‘lit_lookup_mapping’: litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c:242:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c:242:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:28: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:28: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litmanifest.c:28: litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:28: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:28: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ litmanifest.c:242:28: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka 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 litmanifest.c:28: litmanifest.c:242:28: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ In file included from litmanifest.c:28:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ litmanifest.c:243:24: warning: pointer targets in return differ in signedness [-Wpointer-sign] return map->sOriginal; ^ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litdirectory.o litdirectory.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litsections.o litsections.c litsections.c: In function ‘lit_i_cache_section’: litsections.c:189:50: warning: pointer targets in passing argument 2 of ‘decompress_section’ differ in signedness [-Wpointer-sign] status = decompress_section(litfile, pSection->name, ^ litsections.c:36:12: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ static int decompress_section(lit_file * litfile, char * section_name, ^ litsections.c: In function ‘decompress_section’: litsections.c:332:14: warning: implicit declaration of function ‘LZXinit’ [-Wimplicit-function-declaration] status = LZXinit(window_size); ^ litsections.c:402:17: warning: implicit declaration of function ‘LZXreset’ [-Wimplicit-function-declaration] LZXreset(); ^ litsections.c:403:26: warning: implicit declaration of function ‘LZXdecompress’ [-Wimplicit-function-declaration] status = LZXdecompress(pContent + base, ptr+dst, ^ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litheaders.o litheaders.c In file included from /usr/include/string.h:630:0, from litheaders.c:28: litheaders.c: In function ‘lit_i_read_headers’: litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ In file included from litheaders.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litheaders.c:28: litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ In file included from litheaders.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litheaders.c:28: litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ litheaders.c:219:17: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ In file included from litheaders.c:28:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from litheaders.c:28: litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ litheaders.c:219:17: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ litheaders.c:219:17: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ litheaders.c:219:17: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^ In file included from litheaders.c:28:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litutil.o litutil.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o sha/mssha1.o sha/mssha1.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o des/des.o des/des.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o newlzx/lzxglue.o newlzx/lzxglue.c newlzx/lzxglue.c: In function ‘glue_copy’: newlzx/lzxglue.c:61:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] memcpy(dest, src, bytes); ^ newlzx/lzxglue.c:61:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ newlzx/lzxglue.c:61:5: note: include ‘’ or provide a declaration of ‘memcpy’ newlzx/lzxglue.c: In function ‘glue_read’: newlzx/lzxglue.c:87:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy(buffer, (unsigned char *)mem->buffer+mem->current_bytes, bytes); ^ newlzx/lzxglue.c:87:5: note: include ‘’ or provide a declaration of ‘memcpy’ newlzx/lzxglue.c: In function ‘glue_write’: newlzx/lzxglue.c:107:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy((unsigned char *)mem->buffer+mem->current_bytes, buffer, bytes); ^ newlzx/lzxglue.c:107:5: note: include ‘’ or provide a declaration of ‘memcpy’ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o newlzx/lzxd.o newlzx/lzxd.c newlzx/lzxd.c: In function ‘lzxd_static_init’: newlzx/lzxd.c:362:21: warning: iteration 25u invokes undefined behavior [-Waggressive-loop-optimizations] extra_bits[i+1] = j; ^ newlzx/lzxd.c:360:3: note: containing loop for (i = 0, j = 0; i < 51; i += 2) { ^ rm -f openclit.a ar rv openclit.a litatom.o litdrm.o litlib.o litembiggen.o littags.o litmetatags.o litmanifest.o litdirectory.o litsections.o litheaders.o litutil.o sha/mssha1.o des/des.o newlzx/lzxglue.o newlzx/lzxd.o ar: creating openclit.a a - litatom.o a - litdrm.o a - litlib.o a - litembiggen.o a - littags.o a - litmetatags.o a - litmanifest.o a - litdirectory.o a - litsections.o a - litheaders.o a - litutil.o a - sha/mssha1.o a - des/des.o a - newlzx/lzxglue.o a - newlzx/lzxd.o make: Leaving directory '/usr/src/slapt-src/office/convertlit/convertlit18src/lib' make: Entering directory '/usr/src/slapt-src/office/convertlit/convertlit18src/clit18' cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o clit.o clit.c clit.c: In function ‘main’: clit.c:244:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=] fprintf(stderr,"Malloc(%d) failed!\n", strlen(output) + 1); ^ clit.c: In function ‘lit_error’: clit.c:369:29: warning: variable ‘w32err’ set but not used [-Wunused-but-set-variable] unsigned long int w32err; ^ clit.c: In function ‘main’: clit.c:122:16: warning: array subscript is above array bounds [-Warray-bounds] dir_program[MAX_PATH] = '\0'; ^ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o hexdump.o hexdump.c hexdump.c: In function ‘hexdump’: hexdump.c:37:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset( strbuffer, ' ', numBytesInString ); ^ hexdump.c:37:3: warning: incompatible implicit declaration of built-in function ‘memset’ hexdump.c:37:3: note: include ‘’ or provide a declaration of ‘memset’ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o drm5.o drm5.c drm5.c: In function ‘get_next_key’: drm5.c:116:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge(dir_program, sKeysFile, NULL); ^ drm5.c:117:48: warning: pointer targets in passing argument 1 of ‘read_whole_file’ differ in signedness [-Wpointer-sign] if (s) pFile = read_whole_file(s, &remaining); ^ drm5.c:44:6: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ U8 * read_whole_file(char * filename, int * size_ptr) ^ drm5.c:122:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge(dir_lit_file, sKeysFile, NULL); ^ drm5.c:123:48: warning: pointer targets in passing argument 1 of ‘read_whole_file’ differ in signedness [-Wpointer-sign] if (s) pFile = read_whole_file(s, &remaining); ^ drm5.c:44:6: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ U8 * read_whole_file(char * filename, int * size_ptr) ^ drm5.c:144:49: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(private_key_ptr, pKey); ^ In file included from drm5.c:32:0: /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ drm5.c:145:45: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(modulus_ptr, pModulus); ^ In file included from drm5.c:32:0: /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ drm5.c:168:33: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(modulus_ptr, pModulus); ^ In file included from drm5.c:32:0: /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ drm5.c:169:37: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(private_key_ptr, pKey); ^ In file included from drm5.c:32:0: /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ drm5.c: In function ‘ms_base64_decode’: drm5.c:185:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ocp = buff; ^ drm5.c: In function ‘get_element’: drm5.c:267:14: warning: implicit declaration of function ‘isalnum’ [-Wimplicit-function-declaration] if (!isalnum(start[len + 1])) ^ drm5.c: In function ‘drm5_handle_key’: drm5.c:384:51: warning: pointer targets in passing argument 2 of ‘my_mp_to_unsigned_bin’ differ in signedness [-Wpointer-sign] if (!res) res = my_mp_to_unsigned_bin(&d, des_key, sizeof(des_key)); ^ drm5.c:295:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int my_mp_to_unsigned_bin(mp_int * a, unsigned char * b, int len) ^ In file included from /usr/include/string.h:630:0, from drm5.c:32: drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ In file included from drm5.c:32:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from drm5.c:32: drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ In file included from drm5.c:32:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from drm5.c:32: drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ drm5.c:426:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ In file included from drm5.c:32:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from drm5.c:32: drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ drm5.c:426:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ drm5.c:426:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ drm5.c:426:25: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(pValidation,"MSReader",8) != 0) { ^ In file included from drm5.c:32:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o explode.o explode.c explode.c: In function ‘create_file_path’: explode.c:195:30: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] sFiltered = strmerge(pathFile, NULL,NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:195:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sFiltered = strmerge(pathFile, NULL,NULL); ^ explode.c:197:29: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] sDirname = strmerge(pathFile, NULL,NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:197:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sDirname = strmerge(pathFile, NULL,NULL); ^ explode.c:234:34: warning: pointer targets in passing argument 2 of ‘utf8_strmatch’ differ in signedness [-Wpointer-sign] if ((utf8_strmatch(p,"..") == 2) || ^ In file included from explode.c:30:0: utils.h:41:5: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ int utf8_strmatch(U8 * s1, U8 * s2); ^ explode.c:235:34: warning: pointer targets in passing argument 2 of ‘utf8_strmatch’ differ in signedness [-Wpointer-sign] (utf8_strmatch(p,".") == 1)) { ^ In file included from explode.c:30:0: utils.h:41:5: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ int utf8_strmatch(U8 * s1, U8 * s2); ^ explode.c:245:30: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] sTemp = strmerge(pathOutput,sDirname, NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:245:41: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] sTemp = strmerge(pathOutput,sDirname, NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:245:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sTemp = strmerge(pathOutput,sDirname, NULL); ^ explode.c:257:22: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration] status = mkdir(sTemp,0755); ^ explode.c:285:26: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] sTemp = strmerge(pathOutput, sDirname, NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:285:38: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] sTemp = strmerge(pathOutput, sDirname, NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:285:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sTemp = strmerge(pathOutput, sDirname, NULL); ^ explode.c:287:23: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] f = fopen(sTemp, "r"); ^ In file included from explode.c:24:0: /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern FILE *fopen (const char *__restrict __filename, ^ explode.c:290:27: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] f = fopen(sTemp,"w"); ^ In file included from explode.c:24:0: /usr/include/stdio.h:272:14: note: expected ‘const char * restrict’ but argument is of type ‘U8 * {aka unsigned char *}’ extern FILE *fopen (const char *__restrict __filename, ^ explode.c: In function ‘create_placeholders’: explode.c:364:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] bytes = strlen(p)+1; ^ In file included from explode.c:26:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ explode.c:385:30: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign] p = create_file_path(pathOutput, slash); ^ explode.c:185:6: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ U8 * create_file_path(U8 * pathOutput, U8 * pathFile) ^ explode.c:390:26: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge(map->sInternal, dot, NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:390:42: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge(map->sInternal, dot, NULL); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:390:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge(map->sInternal, dot, NULL); ^ explode.c:392:38: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign] p = create_file_path(pathOutput, s); ^ explode.c:185:6: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ U8 * create_file_path(U8 * pathOutput, U8 * pathFile) ^ explode.c:398:34: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge(map->sInternal, int2string(-count), dot); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:398:70: warning: pointer targets in passing argument 3 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge(map->sInternal, int2string(-count), dot); ^ In file included from explode.c:30:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ explode.c:398:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge(map->sInternal, int2string(-count), dot); ^ explode.c:400:46: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign] p = create_file_path(pathOutput,s); ^ explode.c:185:6: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ U8 * create_file_path(U8 * pathOutput, U8 * pathFile) ^ explode.c: In function ‘write_htmlish_file’: explode.c:501:45: warning: pointer targets in passing argument 1 of ‘make_relative_manifest’ differ in signedness [-Wpointer-sign] status = make_relative_manifest(pathOriginal,&relative_manifest, ^ In file included from explode.c:29:0: manifest.h:36:5: note: expected ‘U8 * {aka unsigned char *}’ but argument is of type ‘char *’ int make_relative_manifest(U8 * , manifest_type * , manifest_type * ); ^ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o transmute.o transmute.c transmute.c: In function ‘transmute_lit’: transmute.c:53:23: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] drm_size = 2*(strlen(inscription)+1); ^ transmute.c:53:23: warning: incompatible implicit declaration of built-in function ‘strlen’ transmute.c:53:23: note: include ‘’ or provide a declaration of ‘strlen’ transmute.c:59:9: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(drm_data, 0, drm_size); ^ transmute.c:59:9: warning: incompatible implicit declaration of built-in function ‘memset’ transmute.c:59:9: note: include ‘’ or provide a declaration of ‘memset’ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o display.o display.c display.c: In function ‘display_lit’: display.c:50:33: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) ^ display.c:52:40: warning: pointer targets in passing argument 2 of ‘lit_get_file’ differ in signedness [-Wpointer-sign] err = lit_get_file(lit,&entry->name,&p,&real_size); ^ In file included from display.c:25:0: ../lib/litlib.h:232:5: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); ^ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o utils.o utils.c utils.c: In function ‘utf8_strlen’: utils.c:100:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] bytes = strlen(p)+1; ^ In file included from utils.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ utils.c: In function ‘utf8_strmatch’: utils.c:119:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] bytes1 = strlen(s1)+1; ^ In file included from utils.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ utils.c:120:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] bytes2 = strlen(s2)+1; ^ In file included from utils.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ utils.c: In function ‘utf8_start’: utils.c:146:26: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] iter->bytes = strlen(string); ^ In file included from utils.c:25:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘U8 * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ cc -funsigned-char -Wall -O2 -I ../lib -I ../lib/des -I . -c -o manifest.o manifest.c manifest.c: In function ‘mapping_init’: manifest.c:33:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(m, 0, sizeof(mapping_state)); ^ manifest.c:33:5: warning: incompatible implicit declaration of built-in function ‘memset’ manifest.c:33:5: note: include ‘’ or provide a declaration of ‘memset’ manifest.c: In function ‘duplicate_manifest’: manifest.c:75:5: warning: incompatible implicit declaration of built-in function ‘memset’ memset(pDest, 0, sizeof(manifest_type)); ^ manifest.c:75:5: note: include ‘’ or provide a declaration of ‘memset’ manifest.c:94:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge((char *)mapSrc->sOriginal, NULL, NULL); ^ manifest.c:98:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge((char *)mapSrc->sInternal, NULL, NULL); ^ manifest.c:102:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge((char *)mapSrc->sType, NULL, NULL); ^ manifest.c: In function ‘make_relative_manifest’: manifest.c:175:40: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge("../",sRelative, NULL); ^ In file included from manifest.c:28:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ manifest.c:175:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge("../",sRelative, NULL); ^ manifest.c:176:44: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] } else s = strmerge("..\\",sRelative, NULL); ^ In file included from manifest.c:28:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ manifest.c:176:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } else s = strmerge("..\\",sRelative, NULL); ^ manifest.c:182:26: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); ^ In file included from manifest.c:28:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ manifest.c:182:36: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); ^ In file included from manifest.c:28:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ manifest.c:182:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); ^ manifest.c:185:34: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); ^ In file included from manifest.c:28:0: utils.h:38:8: note: expected ‘char *’ but argument is of type ‘U8 * {aka unsigned char *}’ char * strmerge(char * head, char * body, char * tail); ^ manifest.c:185:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); ^ manifest.c:135:22: warning: variable ‘slashMe’ set but not used [-Wunused-but-set-variable] U8 *slashMe, *slashYou, *sRelative, *s; ^ gcc -o clit clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a -ltommath make: Leaving directory '/usr/src/slapt-src/office/convertlit/convertlit18src/clit18' Slackware package maker, version 3.141593. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. 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/office/convertlit/convertlit-1.8-x86_64-2salix.txz ./ usr/ usr/bin/ usr/bin/lit2epub usr/bin/convertlit usr/doc/ usr/doc/convertlit-1.8/ usr/doc/convertlit-1.8/README usr/doc/convertlit-1.8/convertlit.SlackBuild usr/doc/convertlit-1.8/COPYING usr/man/ usr/man/man1/ usr/man/man1/convertlit.1.gz install/ install/slack-desc Slackware package /usr/src/slapt-src/office/convertlit/convertlit-1.8-x86_64-2salix.txz created. Installing package convertlit-1.8-x86_64-2salix... | convertlit (converts .lit files to .epub) | | Converts Microsoft Reader format eBooks into open format for use | with software or devices which are not directly compatible with | Microsoft's Reader. | | | | | | | |