summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h
index 8eec83009..f07f50299 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 void *data, size_t len, int flags)
{
return st->write(st, data, len, flags);
}