Closed gustafnilklint closed 9 years ago
It seems you're right. But I don't have this warning. Could you propose more details how I can reproduce this? Which framework and xcode version do you use, which target?
Ah. I see. That's an analizer warning. I'll fix this. Thank a lot for your contribution, @gustafnilklint!
There is a PR with the changes you siggests #137.
G8Tesseract.mm:166:43: Result of 'malloc' is converted to a pointer of type 'const char *', which is incompatible with sizeof operand type 'int'
const char _configs = (const char _)malloc(sizeof(int) * count);
should probably be changed to:
const char _configs = (const char _)malloc(sizeof(const char) \ count);