Skip to content

Commit

Permalink
Fixed compiler warning in test host.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnickel committed May 21, 2014
1 parent b67ddb5 commit d0a61cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test Host/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ - (IBAction)logIn {

NSHTTPURLResponse *HTTPResponse = (NSHTTPURLResponse *)response;
if (HTTPResponse.statusCode != 200) {
[[[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"%d status code", HTTPResponse.statusCode] message:nil delegate:nil cancelButtonTitle:@"Close" otherButtonTitles:nil] show];
[[[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"%ld status code", (long)HTTPResponse.statusCode] message:nil delegate:nil cancelButtonTitle:@"Close" otherButtonTitles:nil] show];
return;
}

Expand Down

0 comments on commit d0a61cd

Please sign in to comment.