aboutsummaryrefslogtreecommitdiff
path: root/ps.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-23 13:14:55 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-23 13:14:55 +0000
commit28549038ac2d729ee2f796ae4ea976e77c49cd1e (patch)
tree55a599bb5fbb745c04b1d221eb94d8cc2ea82d6b /ps.c
parentVersion 2.1_beta11 released (diff)
downloadopenvpn-28549038ac2d729ee2f796ae4ea976e77c49cd1e.tar.xz
Minor fixes for gcc (GCC) 4.0.2 warnings.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@905 e7ae566f-a301-0410-adde-c780ea21d3b5
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)
{