diff options
| author | Miha <miha.ravselj@ib-caddy.si> | 2014-02-25 11:56:11 +0100 |
|---|---|---|
| committer | Miha <miha.ravselj@ib-caddy.si> | 2014-02-25 11:56:11 +0100 |
| commit | 300f44125a5abb00f6185babc9bb828aec556015 (patch) | |
| tree | a33c83a50371201aa980d1eec45f351c8ac9d261 /examples/cat-file.c | |
| parent | cb81c3a764447ceb2cd693935bf970138ea60ccc (diff) | |
| download | libgit2-300f44125a5abb00f6185babc9bb828aec556015.tar.gz | |
- BUGFIX #2133 (@fourplusone) in smart_protocol.c
- added MSVC cmake definitions to disable warnings
- general.c is rewritten so it is ansi-c compatible and compiles ok on microsoft windows
- some MSVC reported warning fixes
Diffstat (limited to 'examples/cat-file.c')
| -rw-r--r-- | examples/cat-file.c | 2 |
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 */ |
