From: Parthasarathy Bhuvaragan <parthasarathy.bhuvara...@ericsson.com> Date: Thu, 27 Oct 2016 16:22:25 +0200
> @@ -95,7 +95,7 @@ struct plist; > #define TIPC_MEDIA_INFO_OFFSET 5 > > struct tipc_skb_cb { > - void *handle; > + u32 bytes_read; > struct sk_buff *tail; > bool validated; > bool wakeup_pending; If this is now a u32, then: > - u32 offset = (u32)(unsigned long)(TIPC_SKB_CB(buf)->handle); > + u32 offset = (u32)(TIPC_SKB_CB(buf)->bytes_read); This cast is unnecessary as are the parenthesis. ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion