ofxFern
ofxFern copied to clipboard
Error in buffer_management.cc:87:10
Hi Theo, I'm testing ofxFern on OSX 10.12 OF 0.9.8 and I get this error :
../of_v0.9.8_osx_release/addons/ofxFern/src/ferns/buffer_management.cc:87:10: Case value evaluates to 2147483680, which cannot be narrowed to type 'int'
The error occur in every statement of the switch case starting from line 79 switch(depth) { case IPL_DEPTH_8U: case IPL_DEPTH_8S: pixel_size = 1; break; case IPL_DEPTH_16U: case IPL_DEPTH_16S: pixel_size = 2; break; case IPL_DEPTH_32F: case IPL_DEPTH_32S: pixel_size = 4; break; default:
Thank you Roberto