works as expected if given "%llud" format.

2013/4/2 <lu...@proxima.alt.za>

> The following code triggers a warning:
>
>         #include <u.h>
>         #include <libc.h>
>
>         int main() {
>                 unsigned long long val = 0;
>
>                 print("VAL: %llu\n", val);
>                 return 0;
>         }
>
> warning: llu.c:7 format mismatch llu
>  UVLONG, arg 2
>
> and produces the damnedest output:
>
> VAL: %
> %(not terminated by a newline).
>
> Something's not right, anybody know what the cause is?  And maybe the
> cure?
>
> ++L
>
>
>


-- 
- Yaroslav

Reply via email to