X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/92c3b05ef3e582d64b3cecfc261fdd66ef13a4ef..eae4e80fddb67ed353f32a54c9eeed1c1527e5a9:/uip/picksbr.c diff --git a/uip/picksbr.c b/uip/picksbr.c index 54b50e70..a5184799 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -519,7 +519,10 @@ PRaction (struct nexus *n, int level) dasctime (&n->n_tws, TW_NULL)); return; } - fprintf(stderr, "UNKNOWN(%#llx)\n", (unsigned long long)n->n_action); + + generic_pointer gp; + gp.f = (void (*)(void))n->n_action; + fprintf(stderr, "UNKNOWN(%p)\n", gp.v); } @@ -793,7 +796,7 @@ advance (char *alp, char *aep) do { lp--; if (advance ((char *) lp, (char *) ep)) - return (1); + return 1; } while (lp > curlp); return 0; @@ -812,14 +815,14 @@ cclass (unsigned char *aset, int ac, int af) set = aset; if ((c = ac) == 0) - return (0); + return 0; n = *set++; while (n--) if (*set++ == c || set[-1] == cc[c]) - return (af); + return af; - return (!af); + return !af; } @@ -955,7 +958,7 @@ TWSaction(struct nexus *n, FILE *fp, int msgnum, long start, long stop) return 0; default: - adios (NULL, "internal error -- you lose"); + die("internal error -- you lose"); } break; }