Commit 96b2e2de authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Get the sign right on the overflow test

Spotted by:	fgs
parent 7f9dfc02
......@@ -115,8 +115,8 @@ pan_ws(struct vsb *vsb, const struct ws *ws)
VSB_printf(vsb, "ws = %p {\n", ws);
VSB_indent(vsb, 2);
if (ws->id[0] & 0x20)
VSB_printf(vsb, "OVERFLOW ");
if (!(ws->id[0] & 0x20))
VSB_printf(vsb, "OVERFLOWED ");
VSB_printf(vsb, "id = \"%s\",\n", ws->id);
VSB_printf(vsb, "{s,f,r,e} = {%p", ws->s);
if (ws->f > ws->s)
......
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