michal-narajowski opened a new pull request #542: Printf fixes URL: https://github.com/apache/mynewt-core/pull/542 **libc/baselibc: fix decoding 64-bit values in printf** It was probably done this way to support 16-bit systems which we don't support. Although the 32-bit numbers were read in wrong order. The first 32 bits should be shifted left. The fix could also look like this: val = ((unsigned long long)va_arg(*va, unsigned long)) << 32; val |= ((unsigned long long)va_arg(*va, unsigned long)); ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services