Skip to content

Commit

Permalink
VideoVisualGoom: Fix GCC warning about implicit conversion from int t…
Browse files Browse the repository at this point in the history
…o uint.
  • Loading branch information
stuartm committed Jun 13, 2013
1 parent 1588286 commit c994ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/visualisations/videovisualgoom.cpp
Expand Up @@ -142,7 +142,7 @@ void VideoVisualGoom::Draw(const QRect &area, MythPainter *painter,
if (m_buffer != last)
{
void *plane[1] = { m_buffer };
uint32_t pitch[1] = { m_area.width() * 4 };
uint32_t pitch[1] = { static_cast<uint32_t>(m_area.width() * 4) };
render->UploadBitmap(m_surface, plane, pitch);
}
render->DrawBitmap(m_surface, 0, NULL, NULL, kVDPBlendNull, 255, 255, 255, 255);
Expand Down

0 comments on commit c994ace

Please sign in to comment.