Skip to content
Snippets Groups Projects
Commit 0e6e1fcc authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "tests: Fix warnings found on Mac."

parents 56d85fd2 75cb4037
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ static char *handle_cli_performance_test(struct ast_cli_entry *e, int cmd, struc
static char *handle_cli_queue_test(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
unsigned int level;
int level;
int current_queue_limit;
unsigned int x;
struct timeval start, end;
......@@ -220,7 +220,7 @@ static char *handle_cli_queue_test(struct ast_cli_entry *e, int cmd, struct ast_
ast_cli(a->fd, "Test: Failed, could not register level 'queuetest'.\n");
return CLI_SUCCESS;
}
ast_cli(a->fd, "Test: got level %u for 'queuetest'.\n", level);
ast_cli(a->fd, "Test: got level %d for 'queuetest'.\n", level);
if (ast_logger_create_channel(tmppath, "queuetest") != AST_LOGGER_SUCCESS) {
ast_cli(a->fd, "Test: Unable to create logger channel '%s'\n", tmppath);
......
......@@ -37,6 +37,8 @@
#include "asterisk/pbx.h"
#include "asterisk/test.h"
#include <signal.h>
/*!
* If we determine that we really need
* to be able to register more than 10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment