Skip to content
Browse files

Cast file.flags.

Compiling ++
  • Loading branch information...
1 parent 52b3c98 commit 13bcd6f1acdc793ca9dc749749bcd37cd5c3c0bc Danny Greg committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/GTDiffFile.m
View
2 Classes/GTDiffFile.m
@@ -15,7 +15,7 @@ - (instancetype)initWithGitDiffFile:(git_diff_file)file {
if (self == nil) return nil;
_size = (NSUInteger)file.size;
- _flags = file.flags;
+ _flags = (GTDiffFileFlag)file.flags;
_mode = file.mode;
_path = [NSString stringWithUTF8String:file.path];

0 comments on commit 13bcd6f

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