diff --git a/src/sbbs3/getnode.cpp b/src/sbbs3/getnode.cpp index e10e0c4f4dcb2e15f59766114ad130ee22b8deba..dce71520847ed293030e3b05802f85b666e76f8f 100644 --- a/src/sbbs3/getnode.cpp +++ b/src/sbbs3/getnode.cpp @@ -402,7 +402,7 @@ static char* node_connection_desc(sbbs_t* sbbs, ushort conn, char* str) { switch(conn) { case NODE_CONNECTION_LOCAL: - return " Locally"; /* obsolete */ + return (char*)" Locally"; /* obsolete */ case NODE_CONNECTION_TELNET: return sbbs->text[NodeConnectionTelnet]; case NODE_CONNECTION_RLOGIN: diff --git a/src/sbbs3/ver.cpp b/src/sbbs3/ver.cpp index 7c58dd28c24d32a0b1c009fa077775667f6f5da5..d581444b4aba0c4ca35045f4bf43d1bfdf3cc8a4 100644 --- a/src/sbbs3/ver.cpp +++ b/src/sbbs3/ver.cpp @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2005 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2010 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -37,7 +37,7 @@ #include "sbbs.h" -extern "C" const char* beta_version = " "; /* Space if non-beta, " beta" otherwise */ +const char* beta_version = " "; /* Space if non-beta, " beta" otherwise */ #if defined(_WINSOCKAPI_) extern WSADATA WSAData;