aboutsummaryrefslogtreecommitdiff
path: root/contrib/less/xbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/xbuf.c')
-rw-r--r--contrib/less/xbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/less/xbuf.c b/contrib/less/xbuf.c
index 443e21da907b..8c940c41c8a9 100644
--- a/contrib/less/xbuf.c
+++ b/contrib/less/xbuf.c
@@ -86,7 +86,7 @@ public int xbuf_pop(struct xbuffer *buf)
/*
* Set an xbuf to the contents of another xbuf.
*/
-public void xbuf_set(struct xbuffer *dst, struct xbuffer *src)
+public void xbuf_set(struct xbuffer *dst, constant struct xbuffer *src)
{
xbuf_reset(dst);
xbuf_add_data(dst, src->data, src->end);