summaryrefslogtreecommitdiff
path: root/src/diff_driver.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-12 15:21:21 -0700
committerRussell Belfer <rb@github.com>2013-06-12 15:21:21 -0700
commit37f66e82635c95d808c418f00d8e3c6646bd31f2 (patch)
treed12ffc9e55c0f954d6beb79d419042577de5c273 /src/diff_driver.h
parent88c401bec80f795775b50f5b1f1421cf1e6385a3 (diff)
downloadlibgit2-37f66e82635c95d808c418f00d8e3c6646bd31f2.tar.gz
Fix Windows warnings
This fixes problems with missing function prototypes and 64-bit data issues on Windows.
Diffstat (limited to 'src/diff_driver.h')
-rw-r--r--src/diff_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_driver.h b/src/diff_driver.h
index 3db7df000..9d3f18660 100644
--- a/src/diff_driver.h
+++ b/src/diff_driver.h
@@ -31,7 +31,7 @@ typedef long (*git_diff_find_context_fn)(
const char *, long, char *, long, void *);
typedef int (*git_diff_find_context_line)(
- git_diff_driver *, const char *, long);
+ git_diff_driver *, const char *, size_t);
typedef struct {
git_diff_driver *driver;