From 432848cca35a4edd8ce775cb6531592783e3450d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Jun 2018 14:56:08 +0200 Subject: [PATCH] Fix: src/gdk/gpixbuf.c:120:3: error: format not a string literal and no format arguments [-Werror=format-security] --- src/gdk/gpixbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdk/gpixbuf.c b/src/gdk/gpixbuf.c index 04871da..2c7303c 100755 --- a/src/gdk/gpixbuf.c +++ b/src/gdk/gpixbuf.c @@ -117,7 +117,7 @@ GPIXBUF_METHOD(createFromFile){ pix = gdk_pixbuf_new_from_file_at_scale (filename, width, height, preserve_ratio, &error); } if(!pix){ - zend_throw_exception_ex(pggi_exception_get(), 0, error->message); + zend_throw_exception_ex(pggi_exception_get(), 0, "%s", error->message); return; } zval * new_pixbuf;