From 442d880cf6168cb5f13ce7dd566de6bb7bd987d6 Mon Sep 17 00:00:00 2001 From: chinmaya Date: Thu, 27 Feb 2014 11:08:20 -0300 Subject: [PATCH] evas example: fix warning in compilation of evas-box.c. Summary: The warning was "format not a string literal and no format arguments [-Wformat-security]". Test Plan: gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina` Reviewers: singh.amitesh, seoz, stefan_schmidt CC: cedric, stefan_schmidt Differential Revision: https://phab.enlightenment.org/D585 Signed-off-by: Cedric Bail --- src/examples/evas/evas-box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/evas/evas-box.c b/src/examples/evas/evas-box.c index c58298e1c5..cd158a104f 100644 --- a/src/examples/evas/evas-box.c +++ b/src/examples/evas/evas-box.c @@ -27,7 +27,7 @@ static const char *border_img_path = PACKAGE_EXAMPLES_DIR "/red.png"; -static const char *commands = \ +static const char commands[] = \ "commands are:\n" "\ta - change the box's alignment values\n" "\tp - change the box's padding values\n"