aboutsummaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-01-27 19:32:46 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-01-27 19:32:46 +0000
commitb110c9c43940f7e314bcf9be02f6fdc22c81c560 (patch)
treeff02bda67d63b83b1bb6f69a48e68bd2dd4f1a5e /error.c
parentFixed some issues with C++ style comments that leaked into the code. (diff)
downloadopenvpn-b110c9c43940f7e314bcf9be02f6fdc22c81c560.tar.xz
Fixed some compile-time warnings.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3900 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 2cf8a14..c72f5bc 100644
--- a/error.c
+++ b/error.c
@@ -577,7 +577,7 @@ x_check_status (int status,
struct link_socket *sock,
struct tuntap *tt)
{
- const int my_errno = (sock ? openvpn_errno_socket () : openvpn_errno ());
+ const int my_errno = (sock ? openvpn_errno_socket () : (int)openvpn_errno ());
const char *extended_msg = NULL;
msg (x_cs_verbose_level, "%s %s returned %d",