aboutsummaryrefslogtreecommitdiffstats
path: root/main/test.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-20 12:03:07 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-20 12:03:07 +0000
commit4349aaed675b95a4bcc6a4ab91728a8bc3469698 (patch)
treeb61f845d52f9f1e5f552ae53debf49b2fd32392e /main/test.c
parent27a99cceaa4c91890cbd1738c929cf5bce10fc94 (diff)
Resolve more compiler warnings on FreeBSD.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253540 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/test.c')
-rw-r--r--main/test.c2
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);
}