Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
17eef4d8
Commit
17eef4d8
authored
7 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8596 from nnorwitz:nnorwitz
parents
e60535d3
256b6bb3
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
system.cpp
modules/core/src/system.cpp
+3
-2
No files found.
modules/core/src/system.cpp
View file @
17eef4d8
...
...
@@ -859,9 +859,10 @@ void error( const Exception& exc )
else
{
const
char
*
errorStr
=
cvErrorStr
(
exc
.
code
);
char
buf
[
1
<<
1
6
];
char
buf
[
1
<<
1
2
];
sprintf
(
buf
,
"OpenCV Error: %s (%s) in %s, file %s, line %d"
,
snprintf
(
buf
,
sizeof
(
buf
),
"OpenCV Error: %s (%s) in %s, file %s, line %d"
,
errorStr
,
exc
.
err
.
c_str
(),
exc
.
func
.
size
()
>
0
?
exc
.
func
.
c_str
()
:
"unknown function"
,
exc
.
file
.
c_str
(),
exc
.
line
);
fprintf
(
stderr
,
"%s
\n
"
,
buf
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment