Hi,
please help me with trivial programming question. I am doing this:
if (strcmp(bo.mines_, "marble"))
and getting this:
error: invalid conversion from 'int32_t {aka int}' to 'const char*'
[-fpermissive]
member mines_ is defined as
char* mines_;
in ai_hints.h
What should be the right syntax?
Thanks!
_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help : https://help.launchpad.net/ListHelp