![](https://secure.gravatar.com/avatar/61678206b4cb975de9f9fa6ec9e7ec05.jpg?s=120&d=mm&r=g)
16 May
2014
16 May
'14
9:33 p.m.
This is the code I'm referring to : char c = (char)waitKey(); if( c == 27 ) break; if( c == 'r' ) {..... The function waitKey, above, outputs an integer as return and it's being cast to a char to make the result a letter. Can this be done in CFFI.I have a CFFI wrapper for waitKey btw, that has an :int return