From ba16ba3a100c60dc91d82786c6ef9a06ca7cde45 Mon Sep 17 00:00:00 2001 From: Ilia Shipitsin Date: Sat, 29 Aug 2026 21:15:26 +0200 Subject: [PATCH] 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`. --- src/Cedar/BridgeWin32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/BridgeWin32.c b/src/Cedar/BridgeWin32.c index 2941ae81..ea859ca7 100644 --- a/src/Cedar/BridgeWin32.c +++ b/src/Cedar/BridgeWin32.c @@ -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.