From 0107ee0e4f7fa259297923f1907d1e53add55f12 Mon Sep 17 00:00:00 2001 From: VaclavT Date: Mon, 20 Sep 2021 18:19:30 +0200 Subject: [PATCH] todo added --- usql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usql.cpp b/usql.cpp index 518c622..7ac76d3 100644 --- a/usql.cpp +++ b/usql.cpp @@ -304,7 +304,7 @@ std::unique_ptr USql::pp_function(const std::vectornode_type == NodeType::int_value || parsed_value->node_type == NodeType::float_value) { std::string format = evaluatedPars.size() > 1 ? evaluatedPars[1]->getStringValue() : ""; - char buf[16] {0}; + char buf[20] {0}; // TODO constant here double value = parsed_value->getDoubleValue(); if (format == "100%")