Argh.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 17 Mar 2010 00:23:12 +0000 (00:23 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 17 Mar 2010 00:23:12 +0000 (00:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253004 65c4cc65-6c06-0410-ace0-fbb531ad65f3

tests/test_gosub.c

index 5fb56de..b10e73e 100644 (file)
@@ -144,7 +144,7 @@ AST_TEST_DEFINE(test_gosub)
                        }
 
                        if ((exec_res = pbx_exec(chan, app, testplan[i].args)) && ((const char *) exec_res != testplan[i].expected_value)) {
-                               ast_test_status_update(test, "Application '%s' exited abnormally (with code %d)\n", testplan[i].app, exec_res);
+                               ast_test_status_update(test, "Application '%s' exited abnormally (with code %d)\n", testplan[i].app, (int) exec_res);
                                res = AST_TEST_FAIL;
                                break;
                        }