mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
main, res, tests: Fix compilation errors on FreeBSD.
asterisk.c, manager.c: Increase buffer sizes to avoid truncation warnings.
config.c: Include header file for WIFEXITED/WEXITSTATUS macros.
res_timing_kqueue: Use more portable format specifier.
test_crypto: Use non-linux limits.h header file.
Resolves: #916
(cherry picked from commit b8b21b3f00
)
This commit is contained in:
committed by
Asterisk Development Team
parent
2f3b10d1b2
commit
107c9e7c68
@@ -466,7 +466,7 @@ AST_TEST_DEFINE(test_kqueue_timing)
|
||||
|
||||
}
|
||||
diff = ast_tvdiff_us(ast_tvnow(), start);
|
||||
ast_test_status_update(test, "diff is %llu\n", diff);
|
||||
ast_test_status_update(test, "diff is %" PRIu64 "\n", diff);
|
||||
} while (0);
|
||||
kqueue_timer_close(kt);
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user