mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fb_generic: fix compiler warning
Origin commit data
------------------
Commit: 4ce4c6f2fe
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-02-25 (Sun, 25 Feb 2018)
Origin message was:
------------------
- fb_generic: fix compiler warning
This commit is contained in:
@@ -1704,9 +1704,9 @@ void CFrameBuffer::blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32
|
||||
yc = (height > yRes) ? yRes : height;
|
||||
|
||||
//NI
|
||||
if (unscaled_w != 0 && (int)unscaled_w < xc)
|
||||
if (unscaled_w != 0 && unscaled_w < xc)
|
||||
xc = unscaled_w;
|
||||
if (unscaled_h != 0 && (int)unscaled_h < yc)
|
||||
if (unscaled_h != 0 && unscaled_h < yc)
|
||||
yc = unscaled_h;
|
||||
|
||||
if (xp >= xc || yp >= yc) {
|
||||
|
Reference in New Issue
Block a user