mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
cc_item_progressbar.cpp fix type conversion
Wconversion
Origin commit data
------------------
Branch: ni/coolstream
Commit: d910fc0326
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-10-21 (Thu, 21 Oct 2021)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -171,7 +171,7 @@ void CProgressBarCache::pbcPaint(int x, int y, int pbc_active_width, int pbc_pas
|
||||
{
|
||||
y += yoff;
|
||||
static CFrameBuffer *frameBuffer = CFrameBuffer::getInstance();
|
||||
unsigned int stride = frameBuffer->getStride() / sizeof(fb_pixel_t);
|
||||
unsigned int stride = frameBuffer->getStride() / (unsigned int)sizeof(fb_pixel_t);
|
||||
fb_pixel_t *p = frameBuffer->getFrameBufferPointer() + y * stride + x;
|
||||
int off = stride - pbc_width;
|
||||
if (pbc_active_width > pbc_width)
|
||||
|
Reference in New Issue
Block a user