sync ports with The Matrix
This commit is contained in:
parent
ec769495ab
commit
f5034afcba
3108 changed files with 91999 additions and 80269 deletions
|
@ -3,9 +3,9 @@ Fix with clang 15: invalid pointer to integer conversion.
|
|||
Index: mgp.c
|
||||
--- mgp.c.orig
|
||||
+++ mgp.c
|
||||
@@ -448,16 +448,16 @@ genhtml(start_page)
|
||||
@@ -506,16 +506,16 @@ genhtml(start_page)
|
||||
char *childdebug;
|
||||
char convdb[][3][16] = {{ "jpg", "cjpeg", "djpeg" },
|
||||
char *convdb[][3] = {{ "jpg", "cjpeg", "djpeg" },
|
||||
{ "png", "pnmtopng", "pngtopnm" },
|
||||
- { NULL, NULL, NULL }};
|
||||
+ { "", "", "" }};
|
||||
|
@ -21,5 +21,5 @@ Index: mgp.c
|
|||
- if (*convdb[inum] == NULL) {
|
||||
+ if (**convdb[inum] == '\0') {
|
||||
fprintf(stderr, "unknwon image type %s.\n", htmlimage);
|
||||
cleanup(-1);
|
||||
}
|
||||
/* print out valid image types */
|
||||
fprintf(stderr, "Valid image types: ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue