error: invalid conversion from 'const char*' to 'int'

Nivin37:
Hi,

when changing from...

...

int choice=yn_dialog("Start");
...




to...



...
    int yn_dialog("Start");
 ...




I get this error...

Put it another way. Why did you make this change in the first place?