t64-bit - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 5917e959535e26c206d6cdc9ab354aa21d3e6eaf (DIR) parent b26eedb61d10954f1a573903534e305102f15fb9 (HTM) Author: rsc <devnull@localhost> Date: Thu, 20 Apr 2006 21:21:05 +0000 64-bit Diffstat: M src/cmd/eqn/shift.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/src/cmd/eqn/shift.c b/src/cmd/eqn/shift.c t@@ -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); t@@ -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