From 5d506faba5e49d3fc7eecb5b7d80b515241871d4 Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 20 Apr 2006 19:56:39 +0200 Subject: [PATCH] command.c: cast members of struct timeval to long unsigned This should fix command.c:441: warning: format '%lu' expects type 'long unsigned int', but argument 31 has type 'suseconds_t' on MacOs. --- command.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/command.c b/command.c index 43c02ff9..e6259902 100644 --- a/command.c +++ b/command.c @@ -436,7 +436,9 @@ static char *get_status(struct misc_meta_data *nmmd) status_item_list[SI_STREAM_START], (long unsigned)nmmd->stream_start.tv_sec, (long unsigned)nmmd->stream_start.tv_usec, - status_item_list[SI_CURRENT_TIME], now.tv_sec, now.tv_usec + status_item_list[SI_CURRENT_TIME], + (long unsigned)now.tv_sec, + (long unsigned)now.tv_usec ); free(bar); -- 2.39.2