Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.312
 
1.313
 
MAIN:ragge:20120902083837
 
trees.c
_>23272327 /*
 23282328  * Read an unaligned bitfield from position pointed to by p starting at
 23292329  * off and size fsz and return a tree of type t with resulting data.
<> 2330+ * ct is the type we must use to read data.
23302331  */
 23312332 static NODE *
 23322333 rdualfld(NODE *p, TWORD t, TWORD ct, int off, int fsz)
     
 !
23382339         ctsz = (int)tsize(ct, 0, 0);
 23392340 
 23402341         /* traverse until first data byte */
<>2341 -        for (t2f = 0; off > ctsz; t2f++, off -= ctsz)
  2342+        for (t2f = 0; off >= ctsz; t2f++, off -= ctsz)
23422343                 ;
 23432344 #ifdef UNALIGNED_ACCESS
 23442345         /* try to squeeze it into an int */
     
 !
24062407         ct = ENUNSIGN(ct);
 24072408         d = makety(d, PTR|ct, 0, 0, 0);
 24082409 
<>2409 -        for (t2f = 0; off > ctsz; t2f++, off -= ctsz)
  2410+        for (t2f = 0; off >= ctsz; t2f++, off -= ctsz)
<_24102411                 ;
 24112412  
 24122413         if (off + fsz <= ctsz) {
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 04:00 +0200