linux build
This commit is contained in:
Родитель
9350ae054f
Коммит
6437d5a410
|
@ -323,7 +323,7 @@ TEST_F(transformation_ut, transformation_depth_image_to_point_cloud)
|
|||
ASSERT_NE(depth_image, (k4a_image_t)NULL);
|
||||
k4a_transformation_image_descriptor_t depth_image_descriptor = image_get_descriptor(depth_image);
|
||||
|
||||
uint16_t *depth_image_buffer = (uint16_t *)image_get_buffer(depth_image);
|
||||
uint16_t *depth_image_buffer = (uint16_t *)(void *)image_get_buffer(depth_image);
|
||||
for (int i = 0; i < width * height; i++)
|
||||
{
|
||||
depth_image_buffer[i] = (uint16_t)1000;
|
||||
|
@ -343,7 +343,7 @@ TEST_F(transformation_ut, transformation_depth_image_to_point_cloud)
|
|||
&xyz_image_descriptor),
|
||||
K4A_RESULT_SUCCEEDED);
|
||||
|
||||
int16_t *xyz_image_buffer = (int16_t *)image_get_buffer(xyz_image);
|
||||
int16_t *xyz_image_buffer = (int16_t *)(void *)image_get_buffer(xyz_image);
|
||||
double check_sum = 0;
|
||||
for (int i = 0; i < 3 * width * height; i++)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче