Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

printing u_quad_t



>Modified Files:
>       basesrc/usr.sbin/cnwctl: cnwctl.c
>Log Message:
>Render LL128-safe (fixing printf formats)

        Thanks, but
                u_quad_t foo;
                printf("%llu", (long long) foo);
        looks a bit awkward for me...  shouldn't it be
                printf("%llu", (unsigned long long) foo);
        or I'm misunderstanding something?  checked usr.bin/netstat/if.c
        and it was like this.

itojun



Home | Main Index | Thread Index | Old Index