|2013-11-06 07:52:39||Re: [Ipc-developers] [PATCH] Use size_t cast instead offixed-length integer cast|
|Posted By: Chris Ring|
Join Date: 2008-12-08
Location: UNITED STATES
|Thanks. Pushed to ipc-next.
From: email@example.com [mailto:ipc-developers-bounces@g=
forge.ti.com] On Behalf Of Tivy, Robert
Sent: Monday, November 04, 2013 4:07 PM
Subject: [Ipc-developers] [PATCH] Use size_t cast instead of fixed-length i=
When using fixed-length integer-based cast (unsigned int or unsigned long)
to or from a pointer type, errors/warnings are thrown from one compiler
or another, depending on the integer size vs. the pointer size. The
size_t type adjusts based on pointer size, so it allows a clean compile.
Also had to add a cast after existing cast, creating an ugly double-cast.
Signed-off-by: Robert Tivy firstname.lastname@example.org