Permalink
Browse files

Cast file.flags.

Compiling ++
  • Loading branch information...
Danny Greg
Danny Greg committed Dec 18, 2012
1 parent 52b3c98 commit 13bcd6f1acdc793ca9dc749749bcd37cd5c3c0bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/GTDiffFile.m
View
@@ -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.