Changeset 7018
- Timestamp:
- Nov 2, 2008, 2:04:57 PM (12 years ago)
- Location:
- trunk/macosx
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/FileOutlineView.m
r6887 r7018 177 177 } 178 178 179 - (void) drawRow: ( int) row clipRect: (NSRect) clipRect179 - (void) drawRow: (NSInteger) row clipRect: (NSRect) clipRect 180 180 { 181 181 if (![self isRowSelected: row]) -
trunk/macosx/MessageWindowController.m
r6959 r7018 229 229 230 230 #warning don't cut off end 231 - ( float) tableView: (NSTableView *) tableView heightOfRow: (NSInteger) row231 - (CGFloat) tableView: (NSTableView *) tableView heightOfRow: (NSInteger) row 232 232 { 233 233 NSTableColumn * column = [tableView tableColumnWithIdentifier: @"Message"]; -
trunk/macosx/PiecesView.m
r7007 r7018 117 117 118 118 int8_t * pieces = NULL; 119 CGFloat * piecesPercent = NULL;119 float * piecesPercent = NULL; 120 120 121 121 BOOL showAvailablity = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"]; … … 127 127 else 128 128 { 129 piecesPercent = ( CGFloat *)tr_malloc(fNumPieces * sizeof(CGFloat));129 piecesPercent = (float *)tr_malloc(fNumPieces * sizeof(float)); 130 130 [fTorrent getAmountFinished: piecesPercent size: fNumPieces]; 131 131 } -
trunk/macosx/Torrent.m
r7016 r7018 1000 1000 - (NSArray *) peers 1001 1001 { 1002 NSIntegertotalPeers;1002 int totalPeers; 1003 1003 tr_peer_stat * peers = tr_torrentPeers(fHandle, &totalPeers); 1004 1004 1005 1005 NSMutableArray * peerDicts = [NSMutableArray arrayWithCapacity: totalPeers]; 1006 1006 1007 for ( NSIntegeri = 0; i < totalPeers; i++)1007 for (int i = 0; i < totalPeers; i++) 1008 1008 { 1009 1009 tr_peer_stat * peer = &peers[i]; -
trunk/macosx/TorrentCell.m
r6995 r7018 675 675 676 676 NSInteger pieceCount = MIN([torrent pieceCount], MAX_PIECES); 677 CGFloat * piecesPercent = malloc(pieceCount * sizeof(CGFloat));677 float * piecesPercent = malloc(pieceCount * sizeof(float)); 678 678 [torrent getAmountFinished: piecesPercent size: pieceCount]; 679 679
Note: See TracChangeset
for help on using the changeset viewer.