Fix incompatible pointer type warning in GetEthAdapterListInternal

Changed the type of `size` from `UINT` to `ULONG` in `BridgeWin32.c` to resolve a compiler warning (`-Wincompatible-pointer-types`). The `PacketGetAdapterNames` function expects a `PULONG` (a pointer to an `unsigned long`) for its second parameter, whereas `UINT` maps to `unsigned int`.
This commit is contained in:
Ilia Shipitsin committed 2026-08-29 21:15:26 +02:00
1 parent a820ac7ddc
commit ba16ba3a10
1 file changed
+1 -1
+1 -1
View File
@@ -1406,7 +1406,7 @@ LIST *GetEthAdapterListInternal()
{
LIST *o;
LIST *ret;
UINT size;
ULONG size;
char *buf;
UINT i, j;
char *qos_tag = "(Microsoft's Packet Scheduler)"; // Allow to combine "FriendlyName" consisting of a NULL character and QOS tag.