Skip to content
Snippets Groups Projects
Commit 15c1d6d0 authored by rswindell's avatar rswindell
Browse files

Address gcc error:

invalid conversion from æconst char*Æ to æchar*Æ
parent f8c25906
No related branches found
No related tags found
No related merge requests found
......@@ -1037,7 +1037,7 @@ bool sbbs_t::qwk_voting(const char* fname, smb_net_type_t net_type, const char*
msg.hdr.vote = iniGetShortInt(ini, votes[u], "vote", 0);
}
if(net_type != NET_NONE) {
char* netaddr = iniGetString(ini,votes[u], smb_hfieldtype(SENDERNETADDR), NULL, NULL);
const char* netaddr = iniGetString(ini,votes[u], smb_hfieldtype(SENDERNETADDR), NULL, NULL);
if(netaddr == NULL)
netaddr = qnet_id;
smb_hfield_netaddr(&msg, SENDERNETADDR, netaddr, &net_type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment