diff options
author | Russell Bryant <russell@russellbryant.com> | 2010-03-20 12:03:07 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2010-03-20 12:03:07 +0000 |
commit | 3da9f8ed19fb797a5defa8116225ede37876594a (patch) | |
tree | b61f845d52f9f1e5f552ae53debf49b2fd32392e /main/test.c | |
parent | a5b4b429f1c6c45acdc1cde378f189429d52e327 (diff) |
Resolve more compiler warnings on FreeBSD.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/test.c')
-rw-r--r-- | main/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/test.c b/main/test.c index c5223e6a8..766775c7a 100644 --- a/main/test.c +++ b/main/test.c @@ -848,7 +848,7 @@ static char *test_cli_generate_results(struct ast_cli_entry *e, int cmd, struct if (!(buf = ast_str_create(256))) { return NULL; } - ast_str_set(&buf, 0, "%s/asterisk_test_results-%ld.%s", ast_config_AST_LOG_DIR, time.tv_sec, type); + ast_str_set(&buf, 0, "%s/asterisk_test_results-%ld.%s", ast_config_AST_LOG_DIR, (long) time.tv_sec, type); file = ast_str_buffer(buf); } |