From 77d65af4398c6e2b7b7d54cbc10857f02132740e Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Tue, 19 Jun 2012 15:16:38 -0700 Subject: [PATCH] Nicer constant --- include/git2/index.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/git2/index.h b/include/git2/index.h index b8897ea91..f863a6065 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 }; /**