Commit 0a1cabfe authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

A little bit of flexelintery

parent a98d2b55
......@@ -10,6 +10,8 @@
-emacro({779}, ENC) // String constant in comparison operator '!='
-emacro({506}, CHKFRAME) // Constant value Boolean
-sem(http_process_cleanup, custodial(1))
-esym(522, teken_subr_*)
-esym(850, av)
......
......@@ -259,7 +259,7 @@ str_decode(struct hpk_iter *iter, struct txt *t)
if (num > iter->end - iter->buf)
return (hpk_err);
if (huff) { /*Huffman encoding */
t->ptr = malloc((num * 8) / 5L + 1L);
t->ptr = malloc((num * 8L) / 5L + 1L);
AN(t->ptr);
num = huff_decode(t->ptr, (num * 8) / 5, iter, num);
if (!num) {
......
......@@ -320,7 +320,7 @@ term_expect_text(struct process *pp,
}
static void
term_expect_cursor(struct process *pp, const char *lin, const char *col)
term_expect_cursor(const struct process *pp, const char *lin, const char *col)
{
int x, y;
const teken_pos_t *pos;
......
......@@ -327,7 +327,7 @@ server_dispatch_thread(void *priv)
vtc_log(vl, 2, "Dispatch started on %s", s->listen);
while (1) {
while (!vtc_stop) {
addr = (void*)&addr_s;
l = sizeof addr_s;
fd = accept(s->sock, addr, &l);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment