Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3706

Show
Ignore:
Timestamp:
07/04/08 23:36:58 (2 months ago)
Author:
kris
Message:

fixed some warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/io/encode/Base64.d

    r3632 r3706  
    251251                if (quadPtr is endPtr) 
    252252                { 
    253                     *rtnPt++ = ((base64Quad[0] << 2) | (base64Quad[1]) >> 4); 
     253                    *rtnPt++ = cast(ubyte) (((base64Quad[0] << 2) | (base64Quad[1]) >> 4)); 
    254254                    if (base64Quad[2] != BASE64_PAD) 
    255255                    { 
    256                         *rtnPt++ = ((base64Quad[1] << 4) | (base64Quad[2] >> 2)); 
     256                        *rtnPt++ = cast(ubyte) (((base64Quad[1] << 4) | (base64Quad[2] >> 2))); 
    257257                        encodedLength += 2; 
    258258                        break;