Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 21, 2015
1 parent 3c4a476 commit a75b167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ impl<'a> DiffLine<'a> {
/// * `H` - Hunk header
/// * `B` - Line binary
pub fn origin(&self) -> char {
match unsafe { (*self.raw).origin } {
match unsafe { (*self.raw).origin as raw::git_diff_line_t } {
raw::GIT_DIFF_LINE_CONTEXT => ' ',
raw::GIT_DIFF_LINE_ADDITION => '+',
raw::GIT_DIFF_LINE_DELETION => '-',
Expand Down

0 comments on commit a75b167

Please sign in to comment.