Skip to content

Fixed type narrowing issues - #2011

Merged
alalek merged 2 commits into
opencv:3.4from
mshabunin:enable-narrowing-warning
Feb 26, 2019
Merged

alalek merged 2 commits into
opencv:3.4from
mshabunin:enable-narrowing-warning

Conversation

@mshabunin

@mshabunin mshabunin commented Feb 21, 2019 •

Copy link
Copy Markdown
Contributor

This pullrequest changes

Fixed issues found by enabling type narrowing warning (opencv/opencv#13889)

@alalek

alalek commented Feb 22, 2019

Copy link
Copy Markdown
Member

Clang warnings:

/build/precommit_custom_linux/3.4/opencv_contrib/modules/ximgproc/samples/colorize.cpp:341:56: warning: implicit conversion from 'double' to 'int' changes value from 0.1 to 0 [-Wliteral-conversion]
/build/precommit_custom_linux/3.4/opencv_contrib/modules/ximgproc/samples/colorize.cpp:345:56: warning: implicit conversion from 'double' to 'int' changes value from 0.1 to 0 [-Wliteral-conversion]

@alalek
alalek merged commit b6767cc into opencv:3.4 Feb 26, 2019
@alalek alalek mentioned this pull request Feb 26, 2019
@mshabunin
mshabunin deleted the enable-narrowing-warning branch February 26, 2019 12:12
kallaballa pushed a commit to kallaballa/Plan-V4D.old that referenced this pull request Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants