cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=442d880cf6168cb5f13ce7dd566de6bb7bd987d6

commit 442d880cf6168cb5f13ce7dd566de6bb7bd987d6
Author: chinmaya <chinmaya@chinmaya-VirtualBox.(none)>
Date:   Thu Feb 27 11:08:20 2014 -0300

    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 <[email protected]>
---
 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 c58298e..cd158a1 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"

-- 


Reply via email to