Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.16
 
1.17
 
MAIN:ragge:20100412162709
 
local2.c
_>606606 void
 607607 conput(FILE *fp, NODE *p)
 608608 {
<>609 -        int val = p->n_lval;
  609+        long val = p->n_lval;
610610 
 611611         switch (p->n_op) {
 612612         case ICON:
 613613                 if (p->n_name[0] != '\0') {
 614614                         fprintf(fp, "%s", p->n_name);
 615615                         if (val)
<>616 -                                fprintf(fp, "+%d", val);
  616+                                fprintf(fp, "+%ld", val);
617617                 } else
<>618 -                        fprintf(fp, "%d", val);
  618+                        fprintf(fp, "%ld", val);
619619                 return;
 620620 
 621621         default:
     
 !
633633 /*
 634634  * Write out the upper address, like the upper register of a 2-register
 635635  * reference, or the next memory location.
<> 636+ * XXX - not needed on amd64
636637  */
 637638 void
 638639 upput(NODE *p, int size)
     
 !
684685                 if (p->n_name[0])
 685686                         printf("%s%s", p->n_name, p->n_lval ? "+" : "");
 686687                 if (p->n_lval)
<>687 -                        fprintf(io, "%d", (int)p->n_lval);
  688+                        fprintf(io, "%lld", p->n_lval);
<_688689                 if (R2TEST(r)) {
 689690                         fprintf(io, "(%s,%s,8)", rnames[R2UPK1(r)],
 690691                             rnames[R2UPK2(r)]);
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-07-10 20:18 +0200