mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Eliminate warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2830 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -183,7 +183,7 @@ void NXGL_FUNCNAME(nxgl_moverectangle,NXGLIB_SUFFIX)
|
|||||||
/* Copy the rectangle from top down. */
|
/* Copy the rectangle from top down. */
|
||||||
|
|
||||||
sline = pinfo->fbmem + rect->pt1.y * stride + NXGL_SCALEX(rect->pt1.x);
|
sline = pinfo->fbmem + rect->pt1.y * stride + NXGL_SCALEX(rect->pt1.x);
|
||||||
dline = dline - offset->y * stride - NXGL_SCALEX(offset->x);
|
dline = (FAR uint8_t*)sline - offset->y * stride - NXGL_SCALEX(offset->x);
|
||||||
|
|
||||||
while (rows--)
|
while (rows--)
|
||||||
{
|
{
|
||||||
@@ -206,7 +206,7 @@ void NXGL_FUNCNAME(nxgl_moverectangle,NXGLIB_SUFFIX)
|
|||||||
/* Copy the rectangle from the bottom up */
|
/* Copy the rectangle from the bottom up */
|
||||||
|
|
||||||
sline = pinfo->fbmem + rect->pt2.y * stride + NXGL_SCALEX(rect->pt1.x);
|
sline = pinfo->fbmem + rect->pt2.y * stride + NXGL_SCALEX(rect->pt1.x);
|
||||||
dline = dline - offset->y * stride - NXGL_SCALEX(offset->x);
|
dline = (FAR uint8_t*)sline - offset->y * stride - NXGL_SCALEX(offset->x);
|
||||||
|
|
||||||
while (rows--)
|
while (rows--)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user