]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tests: Fix warnings found on Mac.
authorCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 03:13:32 +0000 (22:13 -0500)
committerCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 03:16:03 +0000 (21:16 -0600)
commit5fe2e7bfdcd06935594823faba67c71ead7ebcf5
tree1686865a79d6aa325737358fb876a883bbbf9282
parentef8ee3ee69fb1b2f9bb2694217d8dfdf124d251f
tests: Fix warnings found on Mac.

test_pbx used raise without explicitly including signal.h.  On Mac for
some reason nothing else includes it.

test_logger checked if an unsigned int was negative.  Switch the
variable to 'int' so that error check can be effective.

Change-Id: Ie1db5dd1818ac25cc2ae41b644f848b5865b1362
tests/test_logger.c
tests/test_pbx.c