mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix build warnings with TEST_FRAMEWORK enabled
........ Merged revisions 416732 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 416733 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 416734 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -275,12 +275,12 @@ static int parked_users_match(const struct parked_user *actual, const struct par
|
||||
}
|
||||
|
||||
if (expected->time_limit != actual->time_limit) {
|
||||
ast_test_status_update(test, "time_limit expected: %d - got: %d\n", expected->time_limit, actual->time_limit);
|
||||
ast_test_status_update(test, "time_limit expected: %u - got: %u\n", expected->time_limit, actual->time_limit);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (expected->resolution != actual->resolution) {
|
||||
ast_test_status_update(test, "resolution expected: %d - got: %d\n", expected->resolution, actual->resolution);
|
||||
ast_test_status_update(test, "resolution expected: %u - got: %u\n", expected->resolution, actual->resolution);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -300,22 +300,22 @@ static int parking_lot_cfgs_match(const struct parking_lot_cfg *actual, const st
|
||||
}
|
||||
|
||||
if (expected->parkingtime != actual->parkingtime) {
|
||||
ast_test_status_update(test, "parkingtime expected: %d - got: %d\n", expected->parkingtime, actual->parkingtime);
|
||||
ast_test_status_update(test, "parkingtime expected: %u - got: %u\n", expected->parkingtime, actual->parkingtime);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (expected->comebackdialtime != actual->comebackdialtime) {
|
||||
ast_test_status_update(test, "comebackdialtime expected: %d - got: %d\n", expected->comebackdialtime, actual->comebackdialtime);
|
||||
ast_test_status_update(test, "comebackdialtime expected: %u - got: %u\n", expected->comebackdialtime, actual->comebackdialtime);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (expected->parkfindnext != actual->parkfindnext) {
|
||||
ast_test_status_update(test, "parkfindnext expected: %d - got: %d\n", expected->parkfindnext, actual->parkfindnext);
|
||||
ast_test_status_update(test, "parkfindnext expected: %u - got: %u\n", expected->parkfindnext, actual->parkfindnext);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (expected->parkext_exclusive != actual->parkext_exclusive) {
|
||||
ast_test_status_update(test, "parkext_exclusive expected: %d - got: %d\n", expected->parkext_exclusive, actual->parkext_exclusive);
|
||||
ast_test_status_update(test, "parkext_exclusive expected: %u - got: %u\n", expected->parkext_exclusive, actual->parkext_exclusive);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user