diff options
author | rsc <devnull@localhost> | 2006-04-20 21:21:05 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 21:21:05 +0000 |
commit | 5917e959535e26c206d6cdc9ab354aa21d3e6eaf (patch) | |
tree | a45b743b5b0c16ba9ebb8313c4dd8e529c0e555c /src/cmd/eqn | |
parent | b26eedb61d10954f1a573903534e305102f15fb9 (diff) | |
download | plan9port-5917e959535e26c206d6cdc9ab354aa21d3e6eaf.tar.gz plan9port-5917e959535e26c206d6cdc9ab354aa21d3e6eaf.tar.bz2 plan9port-5917e959535e26c206d6cdc9ab354aa21d3e6eaf.zip |
64-bit
Diffstat (limited to 'src/cmd/eqn')
-rw-r--r-- | src/cmd/eqn/shift.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/eqn/shift.c b/src/cmd/eqn/shift.c index dbac530b..970c13e7 100644 --- a/src/cmd/eqn/shift.c +++ b/src/cmd/eqn/shift.c @@ -57,10 +57,10 @@ void bshiftb(int p1, int dir, int p2) rclass[p1] = rclass[p2]; /* OTHER leaves too much after sup */ } dprintf(".\tS%d <- %d shift %g %d; b=%g, h=%g, ps=%d, subps=%d\n", - yyval, p1, shval, p2, ebase[yyval], eht[yyval], ps, subps); + (int)yyval, p1, shval, p2, ebase[yyval], eht[yyval], ps, subps); sh2 = Sub2space; /* was Sub2space; */ printf(".as %d \\v'%gm'%s%s\\*(%d%s%s\\v'%gm'\n", - yyval, REL(shval,ps), DPS(ps,subps), sh1, p2, + (int)yyval, REL(shval,ps), DPS(ps,subps), sh1, p2, DPS(subps,ps), sh2, REL(-shval,ps)); rfont[p1] = 0; sfree(p2); @@ -91,7 +91,7 @@ void shift2(int p1, int p2, int p3) ebase[yyval] = subsh + b2 - b1; eht[yyval] = h1 + subsh+b2-b1 + max(0, h3-(1-Supshift)*(h1-b1)); dprintf(".\tS%d <- %d sub %d sup %d, ps=%d, subps=%d, h=%g, b=%g\n", - yyval, p1, p2, p3, ps, subps, eht[yyval], ebase[yyval]); + (int)yyval, p1, p2, p3, ps, subps, eht[yyval], ebase[yyval]); if (rclass[p1] == ILETF) sh2 = "\\|\\|"; else |