Hi all,

Is it known issue that uClibc 0.9.32 incorrectly prints -1 using
%hhd (and %hhi) specifier? The following program:

#include <stdio.h>

int
main(void)
{
    printf("%hhd\n", -1);
    return 0;
}

outputs:
255

If it matters, target is big-ending MIPS32.

Regards,
       Andrew.

--
Andrew Rybchenko
OKTET Labs, St.-Petersburg, Russia    Web: www.oktetlabs.ru
Office: +7 812 7832191  Fax: +7 812 7846591  Mobile: +7 921 7479683

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to