# | Line 466 | Line 466 | void get_stats() { | |
---|---|---|
466 | /* Print the value of a stat. */ | |
467 | void print_stat_value(const stat *s) { | |
468 | void *v = s->stat; | |
469 | + | long l; |
470 | ||
471 | switch (s->type) { | |
472 | case LONG_LONG: | |
# | Line 473 | Line 474 | void print_stat_value(const stat *s) { | |
474 | break; | |
475 | case TIME_T: | |
476 | /* FIXME option for formatted time? */ | |
477 | < | printf("%ld", *(time_t *)v); |
477 | > | l = *(time_t *)v; |
478 | > | printf("%ld", l); |
479 | break; | |
480 | case FLOAT: | |
481 | printf("%f", *(float *)v); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |