Commit 869320a85db5bf417cbd8d7317b7a6a35af440bc

Edward Thomson 2015-12-26T16:55:29

Merge pull request #3546 from Cruel/master Fix a couple function signatures

diff --git a/include/git2/stash.h b/include/git2/stash.h
index 526db0b..b321dc3 100644
--- a/include/git2/stash.h
+++ b/include/git2/stash.h
@@ -68,7 +68,7 @@ GIT_EXTERN(int) git_stash_save(
 	git_repository *repo,
 	const git_signature *stasher,
 	const char *message,
-	unsigned int flags);
+	uint32_t flags);
 
 /** Stash application flags. */
 typedef enum {
diff --git a/src/path.c b/src/path.c
index 72cb289..18b4f03 100644
--- a/src/path.c
+++ b/src/path.c
@@ -1399,7 +1399,7 @@ int git_path_dirload(
 	git_vector *contents,
 	const char *path,
 	size_t prefix_len,
-	unsigned int flags)
+	uint32_t flags)
 {
 	git_path_diriter iter = GIT_PATH_DIRITER_INIT;
 	const char *name;