ofxFern icon indicating copy to clipboard operation
ofxFern copied to clipboard

Error in buffer_management.cc:87:10

Open robertofazio opened this issue 8 years ago • 0 comments

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

robertofazio avatar Dec 03 '17 14:12 robertofazio