mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-27 07:59:41 +08:00
Use uint32_t/uint16_t instead of unsigned long / unsigned short where required
This commit is contained in:
1 parent
855c04d8f6
commit
483542b914
17 files changed
+117
-128
No files matched your search
+1
-1
@@ -610,7 +610,7 @@ int radsend(struct clientparam * param, int auth, int stop){
|
||||
if(!vendor && attr[0] == PW_VENDOR_SPECIFIC) {
|
||||
if (attr[1] < 6 || count < 6) RETURN(4);
|
||||
vendorlen = attr[1]-6;
|
||||
vendor = htonl(*((int*)(attr +2)));
|
||||
vendor = htonl(*((uint32_t *)(attr +2)));
|
||||
count -= 6;
|
||||
attr += 6;
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user