diff options
-rw-r--r-- | match.c | 2 | ||||
-rw-r--r-- | rand.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -389,7 +389,7 @@ typedef val (*h_match_func)(match_line_ctx c, match_line_ctx *cout); c.pos, EXTENT, c.file, c.data_lineno, nao); \ debuglf(elem, lit(" ~a"), c.dataline, nao); \ if (c_num(EXTENT) < 77) \ - debuglf(elem, lit(" ~*~a~-*~a^"), c.pos, lit(""), \ + debuglf(elem, lit(" ~*~a~<*~a^"), c.pos, lit(""), \ minus(EXTENT, c.pos), lit("^"), nao) #define elem_bind(elem_var, directive_var, specline) \ @@ -218,8 +218,9 @@ val random(val state, val modulus) goto invalid; for (;;) { cnum out = 0; - #if SIZEOF_PTR >= 8 + int i; + for (i = 0; i < rands_needed; i++) { rand32_t rnd = rand32(r); out <<= 32; |