mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Fixed several issues found by static analysis in core module
This commit is contained in:
@@ -103,7 +103,7 @@ namespace cv
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(floatFormat, "%%.%dg", std::min(precision, 20));
|
||||
snprintf(floatFormat, 8, "%%.%dg", std::min(precision, 20));
|
||||
}
|
||||
|
||||
switch(mtx.depth())
|
||||
|
||||
Reference in New Issue
Block a user