summaryrefslogtreecommitdiffstats
path: root/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps.c b/ps.c
index ef123e7..a97bbe5 100644
--- a/ps.c
+++ b/ps.c
@@ -856,7 +856,7 @@ port_share_abort (struct port_share *ps)
bool
is_openvpn_protocol (const struct buffer *buf)
{
- const unsigned char *p = BSTR (buf);
+ const unsigned char *p = (const unsigned char *) BSTR (buf);
const int len = BLEN (buf);
if (len >= 3)
{