summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortabe <none@none>2013-02-08 17:32:55 +0900
committertabe <none@none>2013-02-08 17:32:55 +0900
commit36d75acff288deffd0cf24b1f1ea7e70ddd0bc85 (patch)
treed56dfe56e11aed138856ef2aa6355d7ed64c393d /tests
parent2361ab5aa5926ecd1f2aa0808906b897c270904d (diff)
downloadlibgd-36d75acff288deffd0cf24b1f1ea7e70ddd0bc85.tar.gz
suppress warning about the format argument
Diffstat (limited to 'tests')
-rw-r--r--tests/freetype/bug00132.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/freetype/bug00132.c b/tests/freetype/bug00132.c
index a0393fb..5753aa0 100644
--- a/tests/freetype/bug00132.c
+++ b/tests/freetype/bug00132.c
@@ -29,7 +29,7 @@ int main()
ret = gdImageStringFT(im, NULL, - 0xFFFFFF, path, 14.0, 0.0, 10, 20, "&thetasym; &theta;");
if (ret) {
error = 1;
- printf(ret);
+ printf("%s\n", ret);
} else {
sprintf(path, "%s/freetype/%s", GDTEST_TOP_DIR, file_exp);
if (!gdAssertImageEqualsToFile(path, im)) {