diff --git a/include/ion-bb-image-io/rt_file.h b/include/ion-bb-image-io/rt_file.h index 078846a0..d2b9b1c1 100644 --- a/include/ion-bb-image-io/rt_file.h +++ b/include/ion-bb-image-io/rt_file.h @@ -472,7 +472,7 @@ namespace { return finished_; } - uint get_index() { + uint32_t get_index() { return current_idx_; } @@ -623,7 +623,7 @@ int binaryloader_finished(halide_buffer_t* in0, halide_buffer_t* in1, halide_buf auto& r(Reader::get_instance(session_id, width, height, output_directory)); auto finished_flag = r.get_finished(); *reinterpret_cast(finished->host) = finished_flag; - *reinterpret_cast(bin_idx->host) = r.get_index(); + *reinterpret_cast(bin_idx->host) = r.get_index(); if (finished_flag) { r.close(); r.release_instance(session_id);