There are two for loops trying to compare the unsigned integer,
num_tensors, with a signed integet iterator in the single C-API
wrapper code. This patch fixes them.
Signed-off-by: Wook Song <wook16.song@samsung.com>
GstTensorMemory in_tensors[NNS_TENSOR_SIZE_LIMIT];
GstTensorMemory out_tensors[NNS_TENSOR_SIZE_LIMIT];
ml_tensors_data_s *in_data, *out_data;
- int i, status = ML_ERROR_NONE;
+ unsigned int i;
+ int status = ML_ERROR_NONE;
single_h = (ml_single *) arg;
ml_single *single_h;
ml_tensors_data_s *in_data;
gint64 end_time;
- int i, status = ML_ERROR_NONE;
+ unsigned int i;
+ int status = ML_ERROR_NONE;
check_feature_state ();