Fixing compiler warnings

After upgrading to Xcode 5 and iOS 7.0 SDK, I got a compiler warning on line 95 and 160. Had to cast to (CGBitmapInfo) for the warning to go away.