Commit 8adea28ae950e21d3579c0e7911567be4951c4c6

Ben Straub 2013-11-05T11:42:42

Blame: change signature to be more binding-friendly

diff --git a/include/git2/blame.h b/include/git2/blame.h
index b98c6f0..73bcc5b 100644
--- a/include/git2/blame.h
+++ b/include/git2/blame.h
@@ -183,7 +183,7 @@ GIT_EXTERN(int) git_blame_buffer(
 		git_blame **out,
 		git_blame *reference,
 		const char *buffer,
-		size_t buffer_len);
+		uint32_t buffer_len);
 
 /**
  * Free memory allocated by git_blame_file or git_blame_buffer.
diff --git a/src/blame.c b/src/blame.c
index 0b4dafb..01d3fc0 100644
--- a/src/blame.c
+++ b/src/blame.c
@@ -448,7 +448,7 @@ int git_blame_buffer(
 		git_blame **out,
 		git_blame *reference,
 		const char *buffer,
-		size_t buffer_len)
+		uint32_t buffer_len)
 {
 	git_blame *blame;
 	git_diff_options diffopts = GIT_DIFF_OPTIONS_INIT;