diff --git a/src/Mayaqua/TcpIp.c b/src/Mayaqua/TcpIp.c index 66ea1188..b16f508d 100644 --- a/src/Mayaqua/TcpIp.c +++ b/src/Mayaqua/TcpIp.c @@ -3468,8 +3468,8 @@ DHCP_OPTION *NewDhcpOption(UINT id, void *data, UINT size) ret = ZeroMalloc(sizeof(DHCP_OPTION)); ret->Data = ZeroMalloc(size); Copy(ret->Data, data, size); - ret->Size = (UCHAR)size; - ret->Id = (UCHAR)id; + ret->Size = size; + ret->Id = id; return ret; }