Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Commit

Permalink
Fix build for debug mode (warning as error)
Browse files Browse the repository at this point in the history
Local variable type was changed from int to unsigned int
due incompatible type warning

Signed-off-by: Dmitry Brazhkin <dmitry.brazhkin@intel.com>
  • Loading branch information
dmitrybrazhkin committed Apr 11, 2019
1 parent e1a98a5 commit 9d8e6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omx_utils/src/mfx_omx_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static bool is_matched(const char* str)
if (0 == MFX_OMX_GET_ARRAY_SIZE(g_debug_pattern)) return true; // match all
if (!str) return false;

for (int i=0; i < MFX_OMX_GET_ARRAY_SIZE(g_debug_pattern); ++i)
for (unsigned int i=0; i < MFX_OMX_GET_ARRAY_SIZE(g_debug_pattern); ++i)
{
if (strstr(str, g_debug_pattern[i])) return true;
}
Expand Down

0 comments on commit 9d8e6f1

Please sign in to comment.