Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.265
 
1.266
 
MAIN:gmcgarry:20090813080125
 
pftn.c
_>374374 #endif
 375375         p->stype = type;
 376376         p->squal = qual;
<>377 -        p->sclass = class;
 378 -        p->slevel = blevel;
  377+        p->sclass = (char)class;
  378+        p->slevel = (char)blevel;
379379         p->soffset = NOOFFSET;
 380380         if (q->n_sue == NULL)
 381381                 cerror("q->n_sue == NULL");
     
 !
659659 {
 660660         sp->ssue = permalloc(sizeof(struct suedef));
 661661         memset(sp->ssue, 0, sizeof(struct suedef));
<>662 -        sp->sclass = class;
  662+        sp->sclass = (char)class;
663663         if (class == STNAME)
 664664                 sp->stype = STRTY;
 665665         else if (class == UNAME)
     
 !
877877                 if (sp->sclass & FIELD)
 878878                         sz = sp->sclass&FLDSIZ;
 879879                 else
<>880 -                        sz = tsize(sp->stype, sp->sdf, sp->ssue);
  880+                        sz = (int)tsize(sp->stype, sp->sdf, sp->ssue);
881881                 if (sz > rpole->rstr)
 882882                         rpole->rstr = sz/* for use with unions */
 883883                 /*
     
 !
12521252 
 12531253         al = talign(p->stype, p->ssue);
 12541254         noff = off = *poff;
<>1255 -        tsz = tsize(p->stype, p->sdf, p->ssue);
  1255+        tsz = (int)tsize(p->stype, p->sdf, p->ssue);
12561256 #ifdef BACKAUTO
 12571257         if (p->sclass == AUTO) {
 12581258                 noff = off + tsz;
     
 !
19991999                         r = p->n_right;
 20002000                         o = RB;
 20012001                 } else {
<>2002 -                        dim.ddim = p->n_right->n_lval;
  2002+                        dim.ddim = (int)p->n_right->n_lval;
20032003                         nfree(p->n_right);
 20042004 #ifdef notdef
 20052005         /* XXX - check dimensions at usage time */
     
 !
21172117                 p = buildtree(ASSIGN, t, a);
 21182118 
 21192119                 t = tempnode(tmp1, a->n_type, a->n_df, a->n_sue);
<>2120 -                shift = tsize(a->n_type, a->n_df, a->n_sue) - 1;
  2120+                shift = (int)tsize(a->n_type, a->n_df, a->n_sue) - 1;
21212121                 q = buildtree(RS, t, bcon(shift));
 21222122 
 21232123                 t2 = tempnode(0, a->n_type, a->n_df, a->n_sue);
     
 !
21542154         /* must first deal with argument size; use int size */
 21552155         p = a->n_right;
 21562156         if (p->n_type < INT) {
<>2157 -                sz = SZINT/tsize(p->n_type, p->n_df, p->n_sue);
  2157+                sz = (int)(SZINT/tsize(p->n_type, p->n_df, p->n_sue));
21582158         } else
 21592159                 sz = 1;
 21602160 
     
 !
21972197         rv = buildtree(ASSIGN, q, p);
 21982198 
 21992199         r = a->n_right;
<>2200 -        sz = tsize(r->n_type, r->n_df, r->n_sue)/SZCHAR;
  2200+        sz = (int)tsize(r->n_type, r->n_df, r->n_sue)/SZCHAR;
22012201         /* add one to ap */
 22022202 #ifdef BACKAUTO
 22032203         rv = buildtree(COMOP, rv , buildtree(PLUSEQ, a->n_left, bcon(sz)));
     
 !
28322832         s->stype = UNDEF;
 28332833         s->squal = 0;
 28342834         s->sclass = SNULL;
<>2835 -        s->sflags = flags & SMASK;
  2835+        s->sflags = (short)(flags & SMASK);
28362836         s->soffset = 0;
<>2837 -        s->slevel = blevel;
  2837+        s->slevel = (char)blevel;
<_28382838         s->sdf = NULL;
 28392839         s->ssue = NULL;
 28402840         return s;
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-09-02 01:33 +0200