mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 13:21:44 +00:00
now that the types have been converted, revert some that shouldn't have been
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
}
|
||||
|
||||
int8_t * pieces = NULL;
|
||||
CGFloat * piecesPercent = NULL;
|
||||
float * piecesPercent = NULL;
|
||||
|
||||
BOOL showAvailablity = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];
|
||||
if (showAvailablity)
|
||||
@@ -126,7 +126,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
piecesPercent = (CGFloat *)tr_malloc(fNumPieces * sizeof(CGFloat));
|
||||
piecesPercent = (float *)tr_malloc(fNumPieces * sizeof(float));
|
||||
[fTorrent getAmountFinished: piecesPercent size: fNumPieces];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user