On Sun, Jan 12, 2014 at 09:42:41AM +0100, David Tardon wrote:
> #include <ctype.h>
> #include <inttypes.h>
> #include <stdbool.h>
> +#include <stdint.h>
...
> - printf(" bytecode len:%ld used:%ld\n", e->bclen, e->bcused);
> + printf(" bytecode len:%" PRIuMAX " used:%" PRIuMAX "\n",
> + (uintmax_t) e->bclen, (uintmax_t) e->bcused);
The header for these defines is inttypes.h, I thought?
B.
No comments:
Post a Comment