summaryrefslogtreecommitdiff
path: root/include/git2/index.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-06-19 15:16:38 -0700
committerRussell Belfer <rb@github.com>2012-06-19 15:16:38 -0700
commit77d65af4398c6e2b7b7d54cbc10857f02132740e (patch)
treee360e31150bf6740648577abe3e08f3e25d306ee /include/git2/index.h
parentda825c92d92433240ceeaea70d7618395bcfb83d (diff)
downloadlibgit2-77d65af4398c6e2b7b7d54cbc10857f02132740e.tar.gz
Nicer constant
Diffstat (limited to 'include/git2/index.h')
-rw-r--r--include/git2/index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index b8897ea9..f863a606 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -95,7 +95,7 @@ enum {
GIT_INDEXCAP_IGNORE_CASE = 1,
GIT_INDEXCAP_NO_FILEMODE = 2,
GIT_INDEXCAP_NO_SYMLINKS = 4,
- GIT_INDEXCAP_FROM_OWNER = (unsigned int)-1
+ GIT_INDEXCAP_FROM_OWNER = ~0u
};
/**