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:
vanhofen
2018-02-25 21:36:45 +01:00
parent 00ea329ecd
commit 7bbe802a14

View File

@@ -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) {