File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,9 @@ TEST_F(HeightmapTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(Heightmap))
379
379
{
380
380
// Output reference
381
381
base64Encoded.clear ();
382
- const uint32_t header[3 ] = { width, height, normalCamImage.Format () };
382
+ const uint32_t header[3 ] = {
383
+ width, height, static_cast <uint32_t >(normalCamImage.Format ())
384
+ };
383
385
384
386
Base64Encode (header, sizeof (header), base64Encoded);
385
387
Base64Encode (normalData, width * height * normalChannelCount,
@@ -391,7 +393,8 @@ TEST_F(HeightmapTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(Heightmap))
391
393
{
392
394
// Output value
393
395
base64Encoded.clear ();
394
- const uint32_t header[3 ] = { width, height, PF_FLOAT32_RGBA };
396
+ const uint32_t header[3 ] = { width, height,
397
+ static_cast <uint32_t >(PF_FLOAT32_RGBA) };
395
398
396
399
std::cout << " Depth Camera Output:" << std::endl;
397
400
Base64Encode (header, sizeof (header), base64Encoded);
You can’t perform that action at this time.
0 commit comments