Changeset 1279f21


Ignore:
Timestamp:
Nov 6, 2010, 6:34:31 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
bad8ad3
Parents:
d127638
git-author:
Anders Kaseorg <andersk@mit.edu> (10/26/10 02:03:13)
git-committer:
Anders Kaseorg <andersk@mit.edu> (11/06/10 18:34:31)
Message:
_owl_function_timer_append_fmtext: Cast time_t to int for sprintf("%d")

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r9359e5a r1279f21  
    9898  char *str = owl_sprintf("- %s: in %d seconds",
    9999                          timer->name ? timer->name : "(unnamed)",
    100                           timer->time - time(NULL));
     100                          (int)(timer->time - time(NULL)));
    101101  owl_fmtext_append_normal(fm, str);
    102102  owl_free(str);
Note: See TracChangeset for help on using the changeset viewer.