Browse files

Nicer constant

  • Loading branch information...
1 parent da825c9 commit 77d65af4398c6e2b7b7d54cbc10857f02132740e @arrbee committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/git2/index.h
View
2 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
};
/**

0 comments on commit 77d65af

Please sign in to comment.