diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-12-10 01:38:52 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-12-10 16:20:52 +0100 |
commit | 49ae22baac96f14d63547c158a87b4de2d8373a8 (patch) | |
tree | 37eff6bf30e5ba0335c89ecb614f557643582c73 /src/stream.h | |
parent | 1b75c29e3e175ad3ef4bc91a779b851dc76b9e09 (diff) | |
download | libgit2-49ae22baac96f14d63547c158a87b4de2d8373a8.tar.gz |
stream: constify the write buffer
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h index 8eec83009..5267d90ad 100644 --- a/src/stream.h +++ b/src/stream.h @@ -30,7 +30,7 @@ GIT_INLINE(ssize_t) git_stream_read(git_stream *st, void *data, size_t len) return st->read(st, data, len); } -GIT_INLINE(ssize_t) git_stream_write(git_stream *st, void *data, size_t len, int flags) +GIT_INLINE(ssize_t) git_stream_write(git_stream *st, const char *data, size_t len, int flags) { return st->write(st, data, len, flags); } |