diff options
author | Ben Straub <bs@github.com> | 2012-12-05 03:11:26 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-12-05 03:11:26 +0400 |
commit | ed8c978b49ca5b5e5becd37cc8d71e086217672d (patch) | |
tree | 32a2c8195bbdf99dc8063204eef42a66b0418ed1 /LibGit2Sharp/Blob.cs | |
parent | 3db1f92f630febc6ee2c76e891faf64e1dae0e8e (diff) |
Update libgit2 binaries to 16e6cee
https://github.com/libgit2/libgit2/compare/1e99ce9...16e6cee
Diffstat (limited to 'LibGit2Sharp/Blob.cs')
-rw-r--r-- | LibGit2Sharp/Blob.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/LibGit2Sharp/Blob.cs b/LibGit2Sharp/Blob.cs index 7d8e40fe..40396080 100644 --- a/LibGit2Sharp/Blob.cs +++ b/LibGit2Sharp/Blob.cs @@ -1,4 +1,5 @@ -using System.IO; +using System; +using System.IO; using LibGit2Sharp.Core; namespace LibGit2Sharp @@ -8,7 +9,7 @@ namespace LibGit2Sharp /// </summary> public class Blob : GitObject { - private readonly ILazy<int> lazySize; + private readonly ILazy<Int64> lazySize; /// <summary> /// Needed for mocking purposes. @@ -25,7 +26,7 @@ namespace LibGit2Sharp /// <summary> /// Gets the size in bytes of the contents of a blob /// </summary> - public virtual int Size { get { return lazySize.Value; } } + public virtual int Size { get { return (int)lazySize.Value; } } /// <summary> /// Gets the blob content in a <see cref="byte" /> array. |