Just use (char *) to cast it - it's just a temporary switch... And the problem goes away when you refactor MCfiletype to be a MCStringRef.