Skip to content
Browse files

Adds explicit integer conversion

  • Loading branch information...
1 parent c92e323 commit c3b10ef372c4cbfa3fa2eb71bc162cdc682b8519 @sebreh sebreh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 DDComet/DDCometMessage.m
View
2 DDComet/DDCometMessage.m
@@ -55,7 +55,7 @@ + (NSError *)errorWithBayeuxFormat:(NSString *)string
- (NSString *)bayeuxFormat
{
NSString *args = @"";
- NSArray *components = [NSArray arrayWithObjects:[NSString stringWithFormat:@"%d", [self code]], args, [self localizedDescription], nil];
+ NSArray *components = [NSArray arrayWithObjects:[NSString stringWithFormat:@"%ld", (long)[self code]], args, [self localizedDescription], nil];
return [components componentsJoinedByString:@":"];
}

0 comments on commit c3b10ef

Please sign in to comment.
Something went wrong with that request. Please try again.