calypso/dsp: Fix printf format string in dump
authorSylvain Munaut <tnt@246tNt.com>
Sun, 21 Feb 2010 17:29:46 +0000 (18:29 +0100)
committerHarald Welte <laforge@gnumonks.org>
Tue, 23 Feb 2010 14:02:49 +0000 (15:02 +0100)
commiteb5248fffece98a1002b24d9565c3c7dcd8909cb
tree7b57e71cee5768bd69f3a2a549e80ec3cb492a34
parent16aeb95d000e8c86e00cb13a9b88a3b1be7792f2
calypso/dsp: Fix printf format string in dump

In commit 9a18ba40d940c9bf173504b941e10f9638032823 (old git), this
was changed to 'fix compiler warnings'.

But %ux is not a valid format specifier at all so that produces
wrong output !

%lx is the correct format AFAICT because uint32_t is typedef'd from
unsigned long in my toolchain (ARM GCC 4.3.3 - newlib 1.17.0). This
doesn't produce any warning here.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/calypso/dsp.c