Skip to content

Commit

Permalink
Remove one const in cast to compile with gcc8. (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e authored and NadirRoGue committed Jan 21, 2020
1 parent 40f6a62 commit 521a3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Rockets/encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void Encoder::encode(FrameBuffer &fb)
return;

fb.map();
auto cdata = reinterpret_cast<const uint8_t *const>(fb.getColorBuffer());
auto cdata = reinterpret_cast<const uint8_t *>(fb.getColorBuffer());
if (_async)
{
auto &image = _image[_currentImage];
Expand Down

0 comments on commit 521a3e4

Please sign in to comment.