From 7caf1b9d7e691966fdf9235d2931ef8b11f0822f Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 11 Jun 2019 20:20:12 +0500 Subject: [PATCH] Fix compiler warning --- ext/digest/displayIntermediateValues.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/digest/displayIntermediateValues.c b/ext/digest/displayIntermediateValues.c index f3bf9e2..02af490 100644 --- a/ext/digest/displayIntermediateValues.c +++ b/ext/digest/displayIntermediateValues.c @@ -110,7 +110,7 @@ void displayRoundNumber(int level, unsigned int i) void displayText(int level, const char *text) { if ((intermediateValueFile) && (level <= displayLevel)) { - fprintf(intermediateValueFile, text); + fprintf(intermediateValueFile, "%s", text); fprintf(intermediateValueFile, "\n"); fprintf(intermediateValueFile, "\n"); }