Error warning doubts
<pre><code>- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error 
{    NSMutableString *message=[[NSMutableString alloc]init];
    // Notifies users about errors associated with the interface
    switch (result)
    {
        case MFMailComposeResultCancelled:
            message = @"Result: canceled";
            break;
        case MFMailComposeResultSaved:
            message = @"Result: saved";
            break;
        case MFMailComposeResultSent:
            message = @"Result: sent";
            break;
        case MFMailComposeResultFailed:
            message = @"Result: failed";
            break;
        default:
            message = @"Result: not sent";
            break;
    }
</code></pre>

<p>I am using the above code for mailcomposer. When compiled it gives the warning <code>incompatable pointer types assigning to NSMutableString from NSString</code>. I believe this happens when we use NSString instead of NSMutableString. How can I solve this?.
Thanks in advance.</p>
