On Tue, Jun 12, 2012 at 02:48:12PM -0600, Stephen Warren wrote: > From: Stephen Warren <swar...@nvidia.com> > > When compiling the current code-base with gcc 4.6.1, the following warning > is raised, which is interpreted as an error: > > cc1: warnings being treated as errors > tests/setprop_inplace.c: In function ‘main’: > tests/setprop_inplace.c:62: error: format ‘%016llx’ expects type ‘long long > unsigned int’, but argument 2 has type ‘uint64_t’ > tests/setprop_inplace.c:68: error: format ‘%016llx’ expects type ‘long long > unsigned int’, but argument 2 has type ‘uint64_t’ > > Use printf format specifiers from <inttypes.h> to solve this. > > Signed-off-by: Stephen Warren <swar...@nvidia.com>
Acked-by: David Gibson <da...@gibson.dropbear.id.au> Thanks. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss