Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Jan 9, 2025
1 parent eadafa7 commit a887444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WideAngleCameraSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void WideAngleCameraSensor::OnNewWideAngleFrame(
unsigned int bytesPerChannel = rendering::PixelUtil::BytesPerChannel(
this->dataPtr->camera->ImageFormat());
unsigned int len = _width * _height * _channels * bytesPerChannel;
unsigned int bufferSize = len * sizeof(unsigned char) ;
unsigned int bufferSize = len * sizeof(unsigned char);

if (!this->dataPtr->imageBuffer)
this->dataPtr->imageBuffer = new unsigned char[len];
Expand Down

0 comments on commit a887444

Please sign in to comment.