bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Avoid the casts in calls to queue function and macros


From: Marin Ramesa
Subject: Re: [PATCH] Avoid the casts in calls to queue function and macros
Date: Fri, 20 Dec 2013 22:31:19 +0100

On 20.12.2013 19:41:14, Marin Ramesa wrote:
> -     insque((queue_entry_t) telt, ((queue_entry_t)next)->prev);
> +     insque(&(telt->chain), *(&(next->chain).prev));

This should be simply:

-       insque((queue_entry_t) telt, ((queue_entry_t)next)->prev);
+       insque(&(telt->chain), next->chain.prev);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]