Fixed 64-bit warnings
Fixed 64-bit warnings

danieldresser/cortex,appleseedhq/cortex,davidsminor/cortex,danieldresser/cortex,lento/cortex,hradec/cortex,danieldresser/cortex,davidsminor/cortex,hradec/cortex,davidsminor/cortex,lento/cortex,appleseedhq/cortex,goddardl/cortex,appleseedhq/cortex,lento/cortex,goddardl/cortex,goddardl/cortex,danieldresser/cortex,davidsminor/cortex,hradec/cortex