diff -r ce9c83f7ec14 -r 5a71993a1a70 MYAnimatingSplitView.m --- a/MYAnimatingSplitView.m Sun Jul 13 10:45:42 2008 -0700 +++ b/MYAnimatingSplitView.m Sat Mar 28 09:36:46 2009 -0700 @@ -79,7 +79,7 @@ [self getDividerPositionMin: &minPos max: &maxPos]; float denom = maxPos-minPos; if( denom<=0 ) - return 0.0; + return 0.0f; else return (pos-minPos)/denom; }