diff options
author | Pierre-Olivier Latour <pol@mac.com> | 2014-10-26 10:40:46 -0700 |
---|---|---|
committer | Pierre-Olivier Latour <pol@mac.com> | 2014-10-27 09:17:01 -0700 |
commit | d88766c4e16c311ba8ce28e71a6545c5d0d7521f (patch) | |
tree | 4f328df9927cfd707311e58105be0a433a15a85a /src/diff.c | |
parent | 116a19d4674237af7a8ff1e1822e3033e1f8f0d7 (diff) | |
download | libgit2-d88766c4e16c311ba8ce28e71a6545c5d0d7521f.tar.gz |
Changed context_lines and interhunk_lines to uint32_t to match struct s_xdemitconf
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c index 2691d7ca0..375d4cb13 100644 --- a/src/diff.c +++ b/src/diff.c @@ -439,7 +439,7 @@ static int diff_list_apply_options( /* If not given explicit `opts`, check `diff.xyz` configs */ if (!opts) { int context = git_config__get_int_force(cfg, "diff.context", 3); - diff->opts.context_lines = context >= 0 ? (uint16_t)context : 3; + diff->opts.context_lines = context >= 0 ? (uint32_t)context : 3; /* add other defaults here */ } |