Ignore:
Timestamp:
Nov 14, 2010, 3:16:39 PM (11 years ago)
Author:
livings124
Message:

a couple of float -> double changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentTableView.m

    r10407 r11409  
    641641        if ([menu numberOfItems] == 4)
    642642        {
    643             const CGFloat ratioLimitActionValue[] = { 0.25, 0.5, 0.75, 1.0, 1.5, 2.0, 3.0, -1.0 };
     643            const float ratioLimitActionValue[] = { 0.25, 0.5, 0.75, 1.0, 1.5, 2.0, 3.0, -1.0 };
    644644           
    645645            for (NSInteger i = 0; ratioLimitActionValue[i] != -1.0; i++)
     
    850850    NSMutableArray * progressMarks = [NSMutableArray arrayWithCapacity: 16];
    851851    for (NSAnimationProgress i = 0.0625; i <= 1.0; i += 0.0625)
    852         [progressMarks addObject: [NSNumber numberWithFloat: i]];
     852        [progressMarks addObject: [NSNumber numberWithDouble: i]];
    853853   
    854854    fPiecesBarAnimation = [[NSAnimation alloc] initWithDuration: TOGGLE_PROGRESS_SECONDS animationCurve: NSAnimationEaseIn];
Note: See TracChangeset for help on using the changeset viewer.