Skip to content

Commit

Permalink
Enum dtype - change from uint to int
Browse files Browse the repository at this point in the history
  • Loading branch information
swetha097 committed Mar 22, 2024
1 parent 4e3654a commit dba24ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static vx_status VX_CALLBACK validateSpectrogram(vx_node node, const vx_referenc
if (scalar_type != VX_TYPE_BOOL)
return ERRMSG(VX_ERROR_INVALID_TYPE, "validate: Parameter: #6 type=%d (must be size)\n", scalar_type);
STATUS_ERROR_CHECK(vxQueryScalar((vx_scalar)parameters[7], VX_SCALAR_TYPE, &scalar_type, sizeof(scalar_type)));
if (scalar_type != VX_TYPE_UINT32)
if (scalar_type != VX_TYPE_INT32)
return ERRMSG(VX_ERROR_INVALID_TYPE, "validate: Parameter: #7 type=%d (must be size)\n", scalar_type);
STATUS_ERROR_CHECK(vxQueryScalar((vx_scalar)parameters[8], VX_SCALAR_TYPE, &scalar_type, sizeof(scalar_type)));
if (scalar_type != VX_TYPE_INT32)
Expand Down

0 comments on commit dba24ba

Please sign in to comment.