diff --git a/ql/src/Security/CWE-681/IncorrectNumericConversion.ql b/ql/src/Security/CWE-681/IncorrectNumericConversion.ql index 129e6a60c5e..7d0693c94f2 100644 --- a/ql/src/Security/CWE-681/IncorrectNumericConversion.ql +++ b/ql/src/Security/CWE-681/IncorrectNumericConversion.ql @@ -285,5 +285,5 @@ where exists(Lte16FlowConfig cfg | cfg.hasFlowPath(source, sink)) select source, source, sink, "Incorrect type conversion of " + source.getNode().getType() + " from " + - getParserQualifiedNameFromResultType(source.getNode().getType().toString()) + " result to " + + getParserQualifiedNameFromResultType(source.getNode().getType().toString()) + " result to a lower bit size type " + sink.getNode().asExpr().(Lte32BitNumericConversionExpr).getTypeName()