From https://github.com/archlinux/svntogit-packages * branch packages/convertlit -> FETCH_HEAD * [new branch] packages/convertlit -> packages/packages/convertlit Cloning into 'convertlit'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131k 100 131k 0 0 765k 0 --:--:-- --:--:-- --:--:-- 767k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 8541k 0 43084 0 0 85676 0 0:01:42 --:--:-- 0:01:42 85654 16 8541k 16 1398k 0 0 894k 0 0:00:09 0:00:01 0:00:08 894k 71 8541k 71 6106k 0 0 2436k 0 0:00:03 0:00:02 0:00:01 2435k 100 8541k 100 8541k 0 0 2839k 0 0:00:03 0:00:03 --:--:-- 2840k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 831k 0 --:--:-- --:--:-- --:--:-- 831k :: Starting full system upgrade... there is nothing to do ==> Making package: convertlit 1.8-11 (Tue Aug 27 15:53:48 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) libtommath-1.2.0-4 Total Download Size: 0.05 MiB Total Installed Size: 0.12 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47750 100 47750 0 0 3004k 0 --:--:-- --:--:-- --:--:-- 3108k checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libtommath... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading clit18src.zip... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131k 100 131k 0 0 346k 0 --:--:-- --:--:-- --:--:-- 346k ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... clit18src.zip ... Passed ==> Extracting sources... -> Extracting clit18src.zip with bsdtar ==> Starting prepare()... ==> Starting build()... cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litatom.o litatom.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litdrm.o litdrm.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litlib.o litlib.c cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litembiggen.o litembiggen.c 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 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 cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litheaders.o litheaders.c litdrm.c: In function 'lit_i_read_drm': litdrm.c:135:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 135 | if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { | ^~~ | | | U8 * {aka unsigned char *} In file included from litdrm.c:25: /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litatom.c: In function 'lit_read_atoms': litatom.c:123:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 123 | strncpy(s,p + 1, len); | ~~^~~ | | | U8 * {aka unsigned char *} In file included from litatom.c:25: /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ litdrm.c: In function 'lit_change_drm_level': litatom.c:186:19: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 186 | strncpy(s,p, len); | ^ | | | U8 * {aka unsigned char *} /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ litdrm.c:250:72: warning: pointer targets in passing argument 2 of 'lit_i_encrypt_section' differ in signedness [-Wpointer-sign] 250 | status = lit_i_encrypt_section(litfile,litfile->sections[i].name, | ~~~~~~~~~~~~~~~~~~~~^~~~~ | | | U8 * {aka unsigned char *} In file included from litdrm.c:28: litinternal.h:52:38: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 52 | int lit_i_encrypt_section(lit_file *,char *, U8 * new_key); | ^~~~~~ 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] 189 | status = lit_get_file(litfile,&entry->name,&ptr,&nbytes); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from litlib.c:26: litlib.h:232:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 232 | 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] 235 | match = strncasecmp(&entry->name, name, entry->namelen); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from /usr/include/string.h:462, from litlib.c:25: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 120 | 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] 361 | match = strncasecmp(&entry->name,prefix, strlen(prefix)); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 120 | 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] 400 | match = strncasecmp(&entry->name, name, entry->namelen); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 120 | 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] 429 | strcpy(&new->name, name); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:286:21: note: in expansion of macro 'WRITE_CHAR' 286 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:286:21: note: in expansion of macro 'WRITE_CHAR' 286 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:290:25: note: in expansion of macro 'WRITE_CHAR' 290 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:290:25: note: in expansion of macro 'WRITE_CHAR' 290 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:304:17: note: in expansion of macro 'WRITE_CHAR' 304 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:304:17: note: in expansion of macro 'WRITE_CHAR' 304 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:340:30: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 340 | WRITE_STRING(tag_name); | ^~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:340:30: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 340 | WRITE_STRING(tag_name); | ^~~~~~~~ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:360:21: note: in expansion of macro 'WRITE_CHAR' 360 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:360:21: note: in expansion of macro 'WRITE_CHAR' 360 | WRITE_CHAR(' '); | ^~~~~~~~~~ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o litutil.o litutil.c litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:361:21: note: in expansion of macro 'WRITE_CHAR' 361 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:361:21: note: in expansion of macro 'WRITE_CHAR' 361 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:362:21: note: in expansion of macro 'WRITE_CHAR' 362 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:362:21: note: in expansion of macro 'WRITE_CHAR' 362 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:366:21: note: in expansion of macro 'WRITE_CHAR' 366 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:366:21: note: in expansion of macro 'WRITE_CHAR' 366 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:420:25: note: in expansion of macro 'WRITE_CHAR' 420 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:420:25: note: in expansion of macro 'WRITE_CHAR' 420 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:423:29: note: in expansion of macro 'WRITE_CHAR' 423 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:423:29: note: in expansion of macro 'WRITE_CHAR' 423 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:426:21: note: in expansion of macro 'WRITE_CHAR' 426 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:426:21: note: in expansion of macro 'WRITE_CHAR' 426 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:427:21: note: in expansion of macro 'WRITE_CHAR' 427 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:427:21: note: in expansion of macro 'WRITE_CHAR' 427 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:428:34: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 428 | WRITE_STRING(tag_name); | ^~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:428:34: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 428 | WRITE_STRING(tag_name); | ^~~~~~~~ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:429:21: note: in expansion of macro 'WRITE_CHAR' 429 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:429:21: note: in expansion of macro 'WRITE_CHAR' 429 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:478:21: note: in expansion of macro 'WRITE_CHAR' 478 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:478:21: note: in expansion of macro 'WRITE_CHAR' 478 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:479:34: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 479 | WRITE_STRING(numbuf); | ^~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:479:34: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 479 | WRITE_STRING(numbuf); | ^~~~~~ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:488:21: note: in expansion of macro 'WRITE_CHAR' 488 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:488:21: note: in expansion of macro 'WRITE_CHAR' 488 | WRITE_CHAR(' '); | ^~~~~~~~~~ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o sha/mssha1.o sha/mssha1.c litembiggen.c:489:34: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 489 | WRITE_STRING((char *)tmp_map->name); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:489:34: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 489 | WRITE_STRING((char *)tmp_map->name); | ^~~~~~~~~~~~~~~~~~~~~ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:493:17: note: in expansion of macro 'WRITE_CHAR' 493 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:493:17: note: in expansion of macro 'WRITE_CHAR' 493 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:508:17: note: in expansion of macro 'WRITE_CHAR' 508 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:508:17: note: in expansion of macro 'WRITE_CHAR' 508 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:513:21: note: in expansion of macro 'WRITE_CHAR' 513 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:513:21: note: in expansion of macro 'WRITE_CHAR' 513 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:532:34: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 532 | WRITE_STRING(numbuf); | ^~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:532:34: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 532 | WRITE_STRING(numbuf); | ^~~~~~ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:547:21: note: in expansion of macro 'WRITE_CHAR' 547 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:547:21: note: in expansion of macro 'WRITE_CHAR' 547 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:575:30: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 575 | WRITE_STRING(tag_name); | ^~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:575:30: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 575 | WRITE_STRING(tag_name); | ^~~~~~~~ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:587:13: note: in expansion of macro 'WRITE_CHAR' 587 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:587:13: note: in expansion of macro 'WRITE_CHAR' 587 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:595:17: note: in expansion of macro 'WRITE_CHAR' 595 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:595:17: note: in expansion of macro 'WRITE_CHAR' 595 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:622:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 622 | hash_ptr = strchr(href_value,'#'); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from litembiggen.c:27: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ litembiggen.c:622:26: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 622 | hash_ptr = strchr(href_value,'#'); | ^ litembiggen.c:624:30: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 624 | new_href = lit_lookup_mapping(pManifest, href_value, | ^ litembiggen.c:627:30: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 627 | 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] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:629:17: note: in expansion of macro 'WRITE_CHAR' 629 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:629:17: note: in expansion of macro 'WRITE_CHAR' 629 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:631:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 631 | WRITE_STRING(new_href); | ^~~~~~~~ | | | U8 * {aka unsigned char *} litembiggen.c:69:44: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | 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] 633 | WRITE_STRING(hash_ptr); | ^~~~~~~~ | | | U8 * {aka unsigned char *} litembiggen.c:69:44: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | 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] 637 | WRITE_STRING(href_value); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} litembiggen.c:69:44: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o des/des.o des/des.c litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:639:17: note: in expansion of macro 'WRITE_CHAR' 639 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:639:17: note: in expansion of macro 'WRITE_CHAR' 639 | 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] 690 | status = htmlwrite(write_data,&ch, 1); | ^~~ | | | char * litembiggen.c:690:39: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' litembiggen.c:694:54: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 694 | status = htmlwrite(write_data,entities[found].name, | ~~~~~~~~~~~~~~~^~~~~ | | | char * litembiggen.c:694:54: 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] 699 | status = htmlwrite(write_data,&ch, 1); | ^~~ | | | char * 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] 712 | return htmlwrite(write_data,ent_buffer,len); | ^~~~~~~~~~ | | | char * 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 newlzx/lzxglue.o newlzx/lzxglue.c litmanifest.c: In function 'lit_lookup_mapping': litmanifest.c:242:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 242 | if (strncmp(s, map->sInternal, size) == 0) | ^ | | | U8 * {aka unsigned char *} In file included from litmanifest.c:28: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litmanifest.c:242:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 242 | if (strncmp(s, map->sInternal, size) == 0) | ~~~^~~~~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litmanifest.c:243:27: warning: pointer targets in returning 'U8 *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 243 | return map->sOriginal; | ~~~^~~~~~~~~~~ litsections.c: In function 'lit_i_cache_section': litsections.c:189:58: warning: pointer targets in passing argument 2 of 'decompress_section' differ in signedness [-Wpointer-sign] 189 | status = decompress_section(litfile, pSection->name, | ~~~~~~~~^~~~~~ | | | U8 * {aka unsigned char *} litsections.c:36:58: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 36 | static int decompress_section(lit_file * litfile, char * section_name, | ~~~~~~~^~~~~~~~~~~~ cc -O3 -Wall -Ides -Isha -Inewlzx -I. -c -o newlzx/lzxd.o newlzx/lzxd.c litsections.c: In function 'decompress_section': litsections.c:332:14: warning: implicit declaration of function 'LZXinit'; did you mean 'lzxd_init'? [-Wimplicit-function-declaration] 332 | status = LZXinit(window_size); | ^~~~~~~ | lzxd_init litsections.c:402:17: warning: implicit declaration of function 'LZXreset' [-Wimplicit-function-declaration] 402 | LZXreset(); | ^~~~~~~~ litsections.c:403:26: warning: implicit declaration of function 'LZXdecompress'; did you mean 'lzxd_decompress'? [-Wimplicit-function-declaration] 403 | status = LZXdecompress(pContent + base, ptr+dst, | ^~~~~~~~~~~~~ | lzxd_decompress litheaders.c: In function 'lit_i_read_headers': litheaders.c:219:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 219 | if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { | ^~~~~~ | | | U8 * {aka unsigned char *} In file included from litheaders.c:28: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ newlzx/lzxglue.c: In function 'glue_copy': newlzx/lzxglue.c:61:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 61 | memcpy(dest, src, bytes); | ^~~~~~ newlzx/lzxglue.c:34:1: note: include '' or provide a declaration of 'memcpy' 33 | #include "lzx.h" +++ |+#include 34 | newlzx/lzxglue.c:61:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 61 | memcpy(dest, src, bytes); | ^~~~~~ 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' [-Wbuiltin-declaration-mismatch] 87 | 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' [-Wbuiltin-declaration-mismatch] 107 | memcpy((unsigned char *)mem->buffer+mem->current_bytes, buffer, bytes); | ^~~~~~ newlzx/lzxglue.c:107:5: note: include '' or provide a declaration of 'memcpy' newlzx/lzxd.c: In function 'lzxd_static_init': newlzx/lzxd.c:362:21: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations] 362 | extra_bits[i+1] = j; | ~~~~~~~~~~~~~~~~^~~ newlzx/lzxd.c:360:24: note: within this loop 360 | for (i = 0, j = 0; i < 51; i += 2) { | ~~^~~~ In function 'SHA1_Update', inlined from 'SHA1_Final' at sha/mssha1.c:225:2: sha/mssha1.c:207:17: warning: 'SHA1_Transform' accessing 64 bytes in a region of size 1 [-Wstringop-overflow=] 207 | SHA1_Transform(context->state, &data[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha/mssha1.c:207:17: note: referencing argument 2 of type 'sha1_byte[64]' {aka 'unsigned char[64]'} sha/mssha1.c: In function 'SHA1_Final': sha/mssha1.c:60:6: note: in a call to function 'SHA1_Transform' 60 | void SHA1_Transform(sha1_quadbyte state[5], sha1_byte buffer[64]) { | ^~~~~~~~~~~~~~ In function 'SHA1_Update', inlined from 'SHA1_Final' at sha/mssha1.c:227:6: sha/mssha1.c:207:17: warning: 'SHA1_Transform' accessing 64 bytes in a region of size 1 [-Wstringop-overflow=] 207 | SHA1_Transform(context->state, &data[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha/mssha1.c:207:17: note: referencing argument 2 of type 'sha1_byte[64]' {aka 'unsigned char[64]'} sha/mssha1.c: In function 'SHA1_Final': sha/mssha1.c:60:6: note: in a call to function 'SHA1_Transform' 60 | void SHA1_Transform(sha1_quadbyte state[5], sha1_byte buffer[64]) { | ^~~~~~~~~~~~~~ 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 cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o clit.o clit.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o hexdump.o hexdump.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o drm5.o drm5.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o explode.o explode.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o transmute.o transmute.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o display.o display.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o utils.o utils.c cc -funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I . -c -o manifest.o manifest.c hexdump.c: In function 'hexdump': hexdump.c:37:17: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 37 | memset( strbuffer, ' ', numBytesInString ); | ^~~~~~ hexdump.c:19:1: note: include '' or provide a declaration of 'memset' 18 | #include +++ |+#include 19 | hexdump.c:37:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 37 | memset( strbuffer, ' ', numBytesInString ); | ^~~~~~ hexdump.c:37:17: note: include '' or provide a declaration of 'memset' transmute.c: In function 'transmute_lit': transmute.c:53:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 53 | drm_size = 2*(strlen(inscription)+1); | ^~~~~~ transmute.c:26:1: note: include '' or provide a declaration of 'strlen' 25 | #include "litlib.h" +++ |+#include 26 | transmute.c:53:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 53 | drm_size = 2*(strlen(inscription)+1); | ^~~~~~ 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] 59 | memset(drm_data, 0, drm_size); | ^~~~~~ transmute.c:59:9: note: include '' or provide a declaration of 'memset' transmute.c:59:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] transmute.c:59:9: note: include '' or provide a declaration of 'memset' clit.c: In function 'main': clit.c:244:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 244 | fprintf(stderr,"Malloc(%d) failed!\n", strlen(output) + 1); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld clit.c: In function 'lit_error': clit.c:369:29: warning: variable 'w32err' set but not used [-Wunused-but-set-variable] 369 | unsigned long int w32err; | ^~~~~~ drm5.c: In function 'get_next_key': drm5.c:116:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 116 | 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] 117 | if (s) pFile = read_whole_file(s, &remaining); | ^ | | | U8 * {aka unsigned char *} drm5.c:44:29: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 44 | U8 * read_whole_file(char * filename, int * size_ptr) | ~~~~~~~^~~~~~~~ drm5.c:122:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 122 | 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] 123 | if (s) pFile = read_whole_file(s, &remaining); | ^ | | | U8 * {aka unsigned char *} drm5.c:44:29: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 44 | 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] 144 | strcpy(private_key_ptr, pKey); | ^~~~ | | | U8 * {aka unsigned char *} In file included from drm5.c:32: /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 141 | 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] 145 | strcpy(modulus_ptr, pModulus); | ^~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ display.c: In function 'display_lit': display.c:50:33: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) | ^~~~~~ display.c:26:1: note: include '' or provide a declaration of 'strcmp' 25 | #include "litlib.h" +++ |+#include 26 | drm5.c:168:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 168 | strcpy(modulus_ptr, pModulus); | ^~~~~~~~ | | | U8 * {aka unsigned char *} display.c:50:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ display.c:50:40: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} display.c:52:40: warning: pointer targets in passing argument 2 of 'lit_get_file' differ in signedness [-Wpointer-sign] 52 | err = lit_get_file(lit,&entry->name,&p,&real_size); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} drm5.c:169:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 169 | strcpy(private_key_ptr, pKey); | ^~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from display.c:25: ../lib/litlib.h:232:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); | ~~~~~~~~~~~~~^~~~ drm5.c: In function 'ms_base64_decode': drm5.c:185:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 185 | ocp = buff; | ^ drm5.c: In function 'get_element': drm5.c:267:14: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 267 | if (!isalnum(start[len + 1])) | ^~~~~~~ drm5.c:39:1: note: include '' or provide a declaration of 'isalnum' 38 | #include +++ |+#include 39 | drm5.c: In function 'drm5_handle_key': drm5.c:382:9: warning: 'mp_read_unsigned_bin' is deprecated: replaced by mp_from_ubin [-Wdeprecated-declarations] 382 | if (!res) res = mp_read_unsigned_bin(&c, keyData, keySize); | ^~ In file included from drm5.c:38: /usr/include/tommath.h:732:36: note: declared here 732 | MP_DEPRECATED(mp_from_ubin) mp_err mp_read_unsigned_bin(mp_int *a, const unsigned char *b, int c) MP_WUR; | ^~~~~~~~~~~~~~~~~~~~ drm5.c:384:51: warning: pointer targets in passing argument 2 of 'my_mp_to_unsigned_bin' differ in signedness [-Wpointer-sign] 384 | if (!res) res = my_mp_to_unsigned_bin(&d, des_key, sizeof(des_key)); | ^~~~~~~ | | | char * drm5.c:295:55: note: expected 'unsigned char *' but argument is of type 'char *' 295 | int my_mp_to_unsigned_bin(mp_int * a, unsigned char * b, int len) | ~~~~~~~~~~~~~~~~^ drm5.c:426:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 426 | if (strncmp(pValidation,"MSReader",8) != 0) { | ^~~~~~~~~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ 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] 195 | sFiltered = strmerge(pathFile, NULL,NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:195:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 195 | sFiltered = strmerge(pathFile, NULL,NULL); | ^ explode.c:197:29: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] 197 | sDirname = strmerge(pathFile, NULL,NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:197:18: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 197 | sDirname = strmerge(pathFile, NULL,NULL); | ^ explode.c:234:34: warning: pointer targets in passing argument 2 of 'utf8_strmatch' differ in signedness [-Wpointer-sign] 234 | if ((utf8_strmatch(p,"..") == 2) || | ^~~~ | | | char * utils.h:41:33: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 41 | 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] 235 | (utf8_strmatch(p,".") == 1)) { | ^~~ | | | char * utils.h:41:33: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 41 | 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] 245 | sTemp = strmerge(pathOutput,sDirname, NULL); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | 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] 245 | sTemp = strmerge(pathOutput,sDirname, NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:245:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 245 | sTemp = strmerge(pathOutput,sDirname, NULL); | ^ explode.c:257:22: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] 257 | status = mkdir(sTemp,0755); | ^~~~~ explode.c:285:26: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] 285 | sTemp = strmerge(pathOutput, sDirname, NULL); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | 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] 285 | sTemp = strmerge(pathOutput, sDirname, NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:285:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 285 | sTemp = strmerge(pathOutput, sDirname, NULL); | ^ utils.c: In function 'utf8_strlen': utils.c:100:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 100 | bytes = strlen(p)+1; | ^ | | | U8 * {aka unsigned char *} explode.c:287:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 287 | f = fopen(sTemp, "r"); | ^~~~~ | | | U8 * {aka unsigned char *} In file included from utils.c:25: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from explode.c:24: /usr/include/stdio.h:258:44: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 258 | 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] 290 | f = fopen(sTemp,"w"); | ^~~~~ | | | U8 * {aka unsigned char *} /usr/include/stdio.h:258:44: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ utils.c: In function 'utf8_strmatch': utils.c:119:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 119 | bytes1 = strlen(s1)+1; | ^~ | | | U8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | 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] 120 | bytes2 = strlen(s2)+1; | ^~ | | | U8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | 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] 146 | iter->bytes = strlen(string); | ^~~~~~ | | | U8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ explode.c: In function 'create_placeholders': explode.c:364:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 364 | bytes = strlen(p)+1; | ^ | | | U8 * {aka unsigned char *} In file included from explode.c:26: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 407 | 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] 385 | p = create_file_path(pathOutput, slash); | ^~~~~~~~~~ | | | char * explode.c:185:28: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 185 | U8 * create_file_path(U8 * pathOutput, U8 * pathFile) | ~~~~~^~~~~~~~~~ explode.c:390:29: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] 390 | s = strmerge(map->sInternal, dot, NULL); | ~~~^~~~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | 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] 390 | s = strmerge(map->sInternal, dot, NULL); | ^~~ | | | U8 * {aka unsigned char *} utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:390:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 390 | 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] 392 | p = create_file_path(pathOutput, s); | ^~~~~~~~~~ | | | char * explode.c:185:28: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 185 | U8 * create_file_path(U8 * pathOutput, U8 * pathFile) | ~~~~~^~~~~~~~~~ explode.c:398:37: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] 398 | s = strmerge(map->sInternal, int2string(-count), dot); | ~~~^~~~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | 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] 398 | s = strmerge(map->sInternal, int2string(-count), dot); | ^~~ | | | U8 * {aka unsigned char *} utils.h:38:50: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:398:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 398 | 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] 400 | p = create_file_path(pathOutput,s); | ^~~~~~~~~~ | | | char * explode.c:185:28: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 185 | 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] 501 | status = make_relative_manifest(pathOriginal,&relative_manifest, | ^~~~~~~~~~~~ | | | char * In file included from explode.c:29: manifest.h:36:28: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 36 | int make_relative_manifest(U8 * , manifest_type * , manifest_type * ); | ^~~~ manifest.c: In function 'mapping_init': manifest.c:33:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 33 | memset(m, 0, sizeof(mapping_state)); | ^~~~~~ manifest.c:29:1: note: include '' or provide a declaration of 'memset' 28 | #include "utils.h" +++ |+#include 29 | manifest.c:33:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 33 | memset(m, 0, sizeof(mapping_state)); | ^~~~~~ manifest.c:33:5: note: include '' or provide a declaration of 'memset' manifest.c: In function 'duplicate_manifest': clit.c: In function 'main': clit.c:122:16: warning: array subscript 4096 is above array bounds of 'char[4096]' [-Warray-bounds=] 122 | dir_program[MAX_PATH] = '\0'; | ~~~~~~~~~~~^~~~~~~~~~ clit.c:67:8: note: while referencing 'dir_program' 67 | char dir_program[MAX_PATH]; | ^~~~~~~~~~~ manifest.c:75:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 75 | 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 from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 94 | s = strmerge((char *)mapSrc->sOriginal, NULL, NULL); | ^ manifest.c:98:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 98 | s = strmerge((char *)mapSrc->sInternal, NULL, NULL); | ^ manifest.c:102:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 102 | 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] 175 | s = strmerge("../",sRelative, NULL); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from manifest.c:28: utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:175:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 175 | s = strmerge("../",sRelative, NULL); | ^ manifest.c:176:44: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] 176 | } else s = strmerge("..\\",sRelative, NULL); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:176:26: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 176 | } else s = strmerge("..\\",sRelative, NULL); | ^ manifest.c:182:26: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | 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] 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); | ^~~~~~~~~~~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:182:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 182 | 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] 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); | ^~~~~~~~~~~~~~~~~~ | | | U8 * {aka unsigned char *} utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:185:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); | ^ manifest.c:135:22: warning: variable 'slashMe' set but not used [-Wunused-but-set-variable] 135 | 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 /usr/lib/libtommath.so -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "convertlit"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: convertlit 1.8-11 (Tue Aug 27 15:53:57 2024)