Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
@@ -4,7 +4,7 @@ typedef struct URLwin URLwin;
|
||||
enum
|
||||
{
|
||||
STACK = 8192,
|
||||
EVENTSIZE = 256,
|
||||
EVENTSIZE = 256
|
||||
};
|
||||
|
||||
struct Bytes
|
||||
|
||||
@@ -314,7 +314,7 @@ rendertext(URLwin *u, Bytes *b)
|
||||
|
||||
rurl = toStr((uchar*)u->url, strlen(u->url), ISO_8859_1);
|
||||
u->items = parsehtml(b->b, b->n, rurl, u->type, charset((char*)b->b), &u->docinfo);
|
||||
// free(rurl);
|
||||
/* free(rurl); */
|
||||
|
||||
rerender(u);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user