summaryrefslogtreecommitdiff
path: root/include/git2/merge.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-03-31 09:38:06 -0700
committerEdward Thomson <ethomson@microsoft.com>2014-03-31 11:08:31 -0700
commit7f930ded88b2adda94423a618e268700494dc5c0 (patch)
tree0f1b80f4e054008a85c0bca4c7344e7549460672 /include/git2/merge.h
parent336e89572192b75b803970f316417d5f5309ee7b (diff)
downloadlibgit2-7f930ded88b2adda94423a618e268700494dc5c0.tar.gz
Const up members of git_merge_file_result
Diffstat (limited to 'include/git2/merge.h')
-rw-r--r--include/git2/merge.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/merge.h b/include/git2/merge.h
index 939f20214..769df5a8d 100644
--- a/include/git2/merge.h
+++ b/include/git2/merge.h
@@ -177,13 +177,13 @@ typedef struct {
* The path that the resultant merge file should use, or NULL if a
* filename conflict would occur.
*/
- char *path;
+ const char *path;
/** The mode that the resultant merge file should use. */
unsigned int mode;
/** The contents of the merge. */
- unsigned char *ptr;
+ const char *ptr;
/** The length of the merge contents. */
size_t len;