mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Compilation warnings cleanup
This commit is contained in:
1 parent
f70a8c0019
commit
3b8e7741b3
21 files changed
+173
-172
No files matched your search
@@ -41,7 +41,7 @@ extern "C" {
|
||||
if(dom)*dom++=0;
|
||||
if(!LogonUser( dom?dom:(char *)param->username,
|
||||
dom?(char *)param->username:NULL,
|
||||
param->password,
|
||||
(char *)param->password,
|
||||
LOGON32_LOGON_NETWORK,
|
||||
LOGON32_PROVIDER_DEFAULT,
|
||||
&h))return 5;
|
||||
@@ -54,7 +54,7 @@ extern "C" {
|
||||
if(GetLengthSid(ptg->Groups[i].Sid)==sidlen){
|
||||
if(!memcmp((void *)ptg->Groups[i].Sid, (void *)psid, sidlen)) {
|
||||
setlocale(LC_CTYPE, ".ACP");
|
||||
_strlwr(param->username);
|
||||
_strlwr((char *)param->username);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user