On Fri, May 09, 2025 at 09:00:42PM +0200, Christoph Niedermaier wrote: > Add basic unit tests for argument checking of the env command. > > Signed-off-by: Christoph Niedermaier <cniederma...@dh-electronics.com> [snip] > + /* Binary format with checksum and with wrong size */ > + ut_asserteq(1, run_commandf("env import -c ${loadaddr} %x", > offsetof(env_t, data)));
This will be "unsigned long int" on 64bit or "unsigned int" on 32bit, and so we can't use %x here. -- Tom
signature.asc
Description: PGP signature