Attention is currently required from: Arne Schwabe, Frank Lichtenheld.

Răzvan Cojocaru has posted comments on this change by Frank Lichtenheld. ( 
https://gerrit.openvpn.net/c/openvpn/+/2381?usp=email )

Change subject: tapctl: Fix sign conversion warnings
......................................................................


Patch Set 1:

(1 comment)

File src/tapctl/tap.c:

https://gerrit.openvpn.net/c/openvpn/+/2381/comment/b91f398b_60d5b6b1?usp=email 
:
PS1, Line 381: get_reg_string(_In_ HKEY hKey, _In_ LPCWSTR szName, _Out_ LPWSTR 
*pszValue)
This returns Win32 error codes (`ERROR_OUTOFMEMORY`, `GetLastError()`, ...), 
not registry status. Keeping `DWORD` and casting the two `RegQueryValueEx()` 
results, like the `(DWORD)RegOpenKeyEx()` calls below avoids the casts back to 
`DWORD` in callers and the `dwResult/lResult` split in `get_net_adapter_guid()`.



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2381?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I473c876cecffb4d057f6ffb23e50c3274de95989
Gerrit-Change-Number: 2381
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Mon, 30 Nov 2026 17:39:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to