|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH 2/2] lib/uknetdev: Fix compliation warning about signed/unsigned comparision
Hi, On 11/10/2019 09:52, Jia He wrote: This fixes the compliation warning when compiling libuknetdev Typo s/compliation/compilation/
Maybe I am missing something but: UINT16_MAX - headrom should be unsigned, right?IIRC, sizeof() is also returning an unsigned. So how this is solving the problem here? #define NETBUF_ADDR_ALIGN_UP(x) ALIGN_UP((x), NETBUF_ADDR_ALIGNMENT)void uk_netbuf_init_indir(struct uk_netbuf *m, Cheers, -- Julien Grall _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |