From 91a47f4fab4d74f49a341ce22954a563f6544446 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 28 Apr 2018 08:01:01 +0800 Subject: [PATCH] refactor: also constify CAPS usage of context info --- lib/plat/lws-plat-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plat/lws-plat-unix.c b/lib/plat/lws-plat-unix.c index 4cbcc7c1..fe80c8e3 100644 --- a/lib/plat/lws-plat-unix.c +++ b/lib/plat/lws-plat-unix.c @@ -415,7 +415,7 @@ lws_plat_set_socket_options(struct lws_vhost *vhost, int fd) #if defined(LWS_HAVE_SYS_CAPABILITY_H) && defined(LWS_HAVE_LIBCAP) static void -_lws_plat_apply_caps(int mode, cap_value_t *cv, int count) +_lws_plat_apply_caps(int mode, const cap_value_t *cv, int count) { cap_t caps;