Skip to content

Commit

Permalink
Fix warning on formatting NSInteger
Browse files Browse the repository at this point in the history
  • Loading branch information
roop committed Apr 30, 2021
1 parent 36babe0 commit 9dd840e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/AppAuth/macOS/OIDRedirectHTTPHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ - (void)HTTPConnection:(HTTPConnection *)conn didReceiveRequest:(HTTPServerReque
}

NSAssert([bodyText length] > 0, @"bodyText is empty");
NSAssert(httpResponseCode > 0, @"httpResponseCode is %d, should be greater than 0", httpResponseCode);
NSAssert(httpResponseCode > 0, @"httpResponseCode is %d, should be greater than 0", (long) httpResponseCode);

NSData *data = [bodyText dataUsingEncoding:NSUTF8StringEncoding];

Expand Down

0 comments on commit 9dd840e

Please sign in to comment.