Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cat-file.c')
-rw-r--r--examples/cat-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cat-file.c b/examples/cat-file.c
index fa6add07b..52399fa8a 100644
--- a/examples/cat-file.c
+++ b/examples/cat-file.c
@@ -42,7 +42,7 @@ static void print_signature(const char *header, const git_signature *sig)
static void show_blob(const git_blob *blob)
{
/* ? Does this need crlf filtering? */
- fwrite(git_blob_rawcontent(blob), git_blob_rawsize(blob), 1, stdout);
+ fwrite(git_blob_rawcontent(blob), (size_t)git_blob_rawsize(blob), 1, stdout);
}
/** Show each entry with its type, id and attributes */