Revision: 575
Author: gtm.daemon
Date: Wed Aug 29 14:00:19 2012
Log: [Author: param]
Fix implicit conversion warnings.
R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=9 (0 added, 0 deleted, 9 changed)
http://code.google.com/p/google-toolbox-for-mac/source/detail?r=575
Modified:
/trunk/Foundation/GTMStringEncoding.m
=======================================
--- /trunk/Foundation/GTMStringEncoding.m Wed May 4 14:30:26 2011
+++ /trunk/Foundation/GTMStringEncoding.m Wed Aug 29 14:00:19 2012
@@ -261,7 +261,7 @@
buffer |= val & mask_;
bitsLeft += shift_;
if (bitsLeft >= 8) {
- outBuf[outPos++] = buffer >> (bitsLeft - 8);
+ outBuf[outPos++] = (unsigned char)(buffer >> (bitsLeft - 8));
bitsLeft -= 8;
}
break;