cinder/Cinder — pull request #441 by daanvanhasselt (2014-06-02 15:34:32+00:00)
Title: in Cocoa URL loader implementation, changed int datatypes to off_t datat...

NOTE: This is a 'duplicate' of https://github.com/cinder/Cinder/pull/439, because my fix was based on master and should be based on dev..

In Cocoa URL loader implementation, changed int datatypes to off_t datatypes to prevent int overflow when downloading large files. Without this fix, line 180-181 would overflow the int so the realloc on 182 would try to allocate a negative amount of space.