Skip to content

Commit c59c922

Browse files
committed
Fix a compiler warning.
1 parent 391e451 commit c59c922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/ProgressViews/M13ProgressViewLetterpress.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ - (void)rotateWithDisplayLink:(CADisplayLink *)displayLink
231231
[view setTransform:CGAffineTransformMakeRotation(rotation * M_PI / 180)];
232232

233233
//If we are slowing down, animate to a new angle.
234-
if (fabsf(velocity) < 1) {
234+
if (fabs(velocity) < 1) {
235235
restRotation += (arc4random() & 2 ? 90 : -90);
236236
}
237237
}

0 commit comments

Comments
 (0)