Silencing Xcode 6 warning

Just a minor change to silence a class cast warning.

Thanks for JCAFImageCache, IT'S GREAT !!