From 28a88bbfc883d1736827572cc1b1e3ed3dd1119b Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 31 Jan 2019 08:28:34 -0500 Subject: [PATCH] elm_code: Fix formatting of error string the ERR line here used %s for 'mode', but 'mode is an unsigned int thus causing compiler warning. Fix it. --- src/lib/elementary/elm_code_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_code_file.c b/src/lib/elementary/elm_code_file.c index d82a7716bd..c5d429f639 100644 --- a/src/lib/elementary/elm_code_file.c +++ b/src/lib/elementary/elm_code_file.c @@ -219,7 +219,7 @@ EAPI void elm_code_file_save(Elm_Code_File *file) { if(chmod(path, mode) < 0) { - ERR("Error in chmod(%s, %s) - %d(%s)\n", path, mode, errno, strerror(errno)); + ERR("Error in chmod(%s, %d) - %d(%s)\n", path, mode, errno, strerror(errno)); return; } }