Use uint32_t/uint16_t instead of unsigned long / unsigned short where required

This commit is contained in:
Vladimir Dubrovin committed 2026-04-08 21:13:18 +03:00
1 parent 855c04d8f6
commit 483542b914
17 files changed
+117 -128

No files matched your search

+1 -1
View File
@@ -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;