Changeset 181 for trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m
- Timestamp:
- 05/09/05 04:16:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m
r167 r181 185 185 186 186 // if *h begins with '<hint>:', then copy the slashes after it 187 if (sizeBefore > hintLength + 1 && strncmp( &hint[1], copy, hintLength) == 0 && copy[hintLength] == ':') {187 if (sizeBefore > hintLength + 1 && strncmp((const char *)&hint[1], copy, hintLength) == 0 && copy[hintLength] == ':') { 188 188 memcpy(*h, copy, hintLength + 1); 189 189 memcpy(*h + hintLength + 1, kICSlashes, 2); … … 255 255 ICCF_OSErrCAssert(MemError(), @"NewHandle"); 256 256 257 if (CFStringGetBytes((CFStringRef)string, CFRangeMake(0, len), kCFStringEncodingASCII, '\0', false, *h, len, NULL) != len)257 if (CFStringGetBytes((CFStringRef)string, CFRangeMake(0, len), kCFStringEncodingASCII, '\0', false, (UInt8 *)*h, len, NULL) != len) 258 258 ICCF_OSErrCAssert(kTECNoConversionPathErr, @"CFStringGetBytes"); 259 259
Note:
See TracChangeset
for help on using the changeset viewer.