Ignore:
Timestamp:
09/20/09 21:08:13 (15 years ago)
Author:
Nicholas Riley
Message:

Fix some problems/deprecation identified by compiling with the 10.6 SDK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/NJRQTMediaPopUpButton.m

    r576 r587  
    568568    while ( (type = [e nextObject]) != nil) {
    569569        if ([type hasPrefix: @"CorePasteboardFlavorType 0x"]) {
    570             const char *osTypeHex = [[type substringFromIndex: [type rangeOfString: @"0x" options: NSBackwardsSearch].location] lossyCString];
     570            const char *osTypeHex = [[type substringFromIndex: [type rangeOfString: @"0x" options: NSBackwardsSearch].location] UTF8String];
    571571            OSType osType;
    572572            sscanf(osTypeHex, "%lx", &osType);
Note: See TracChangeset for help on using the changeset viewer.