From 02ef9ba1e3c0ed7ab7327c396e9e4b01906437eb Mon Sep 17 00:00:00 2001 From: rbalocca Date: Wed, 25 Jun 2008 13:18:54 -0700 Subject: Fix syntax issue --- src/command_proc_show_vpn.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/command_proc_show_vpn.cc b/src/command_proc_show_vpn.cc index 252c27e..6f2ed0a 100644 --- a/src/command_proc_show_vpn.cc +++ b/src/command_proc_show_vpn.cc @@ -27,6 +27,8 @@ #include #include #include +#include +#include //#include "config.h" #include "rl_str_proc.hh" //#include @@ -41,7 +43,7 @@ int main(int argc, char ** argv) { string request; bool debug = false; for (int i = 1; i < argc; ++i) { - if (strcmp(argv[i], "--debug") == 0) { + if (strcmp((const char *)argv[i], "--debug") == 0) { debug = true; } else { request += string(argv[i]) + string(" "); -- cgit v1.2.3