Changeset 7018


Ignore:
Timestamp:
Nov 2, 2008, 2:04:57 PM (12 years ago)
Author:
livings124
Message:

now that the types have been converted, revert some that shouldn't have been

Location:
trunk/macosx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileOutlineView.m

    r6887 r7018  
    177177}
    178178
    179 - (void) drawRow: (int) row clipRect: (NSRect) clipRect
     179- (void) drawRow: (NSInteger) row clipRect: (NSRect) clipRect
    180180{
    181181    if (![self isRowSelected: row])
  • trunk/macosx/MessageWindowController.m

    r6959 r7018  
    229229
    230230#warning don't cut off end
    231 - (float) tableView: (NSTableView *) tableView heightOfRow: (NSInteger) row
     231- (CGFloat) tableView: (NSTableView *) tableView heightOfRow: (NSInteger) row
    232232{
    233233    NSTableColumn * column = [tableView tableColumnWithIdentifier: @"Message"];
  • trunk/macosx/PiecesView.m

    r7007 r7018  
    117117
    118118    int8_t * pieces = NULL;
    119     CGFloat * piecesPercent = NULL;
     119    float * piecesPercent = NULL;
    120120   
    121121    BOOL showAvailablity = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];
     
    127127    else
    128128    {   
    129         piecesPercent = (CGFloat *)tr_malloc(fNumPieces * sizeof(CGFloat));
     129        piecesPercent = (float *)tr_malloc(fNumPieces * sizeof(float));
    130130        [fTorrent getAmountFinished: piecesPercent size: fNumPieces];
    131131    }
  • trunk/macosx/Torrent.m

    r7016 r7018  
    10001000- (NSArray *) peers
    10011001{
    1002     NSInteger totalPeers;
     1002    int totalPeers;
    10031003    tr_peer_stat * peers = tr_torrentPeers(fHandle, &totalPeers);
    10041004   
    10051005    NSMutableArray * peerDicts = [NSMutableArray arrayWithCapacity: totalPeers];
    10061006   
    1007     for (NSInteger i = 0; i < totalPeers; i++)
     1007    for (int i = 0; i < totalPeers; i++)
    10081008    {
    10091009        tr_peer_stat * peer = &peers[i];
  • trunk/macosx/TorrentCell.m

    r6995 r7018  
    675675   
    676676    NSInteger pieceCount = MIN([torrent pieceCount], MAX_PIECES);
    677     CGFloat * piecesPercent = malloc(pieceCount * sizeof(CGFloat));
     677    float * piecesPercent = malloc(pieceCount * sizeof(float));
    678678    [torrent getAmountFinished: piecesPercent size: pieceCount];
    679679   
Note: See TracChangeset for help on using the changeset viewer.