diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-05-26 14:55:14 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-05-26 14:55:14 +0400 |
commit | 0690be7eca2fa56231ee6a250bc13c76ebcc7e94 (patch) | |
tree | 1332ab66414d818245d414918360877de57c8043 /LibGit2Sharp/Configuration.cs | |
parent | f28c2698bbed159e5184ec646f522a8bc3d9fef5 (diff) |
Fix wrongly declared interop signature
Diffstat (limited to 'LibGit2Sharp/Configuration.cs')
-rw-r--r-- | LibGit2Sharp/Configuration.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp/Configuration.cs b/LibGit2Sharp/Configuration.cs index 7690d3ea..6c7d31cf 100644 --- a/LibGit2Sharp/Configuration.cs +++ b/LibGit2Sharp/Configuration.cs @@ -62,11 +62,11 @@ namespace LibGit2Sharp get { return systemConfigPath != null; } } - private static string ConvertPath(Func<byte[], IntPtr, int> pathRetriever) + private static string ConvertPath(Func<byte[], uint, int> pathRetriever) { var buffer = new byte[NativeMethods.GIT_PATH_MAX]; - int result = pathRetriever(buffer, new IntPtr(NativeMethods.GIT_PATH_MAX)); + int result = pathRetriever(buffer, NativeMethods.GIT_PATH_MAX); if (result == (int)GitErrorCode.GIT_ENOTFOUND) { |