Changeset 0471786 in mainline for uspace/srv/fb/fb.c


Ignore:
Timestamp:
2009-06-16T20:22:58Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62140db
Parents:
08c9f7d
Message:

Fix signedness issues and warnings in fb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/fb.c

    r08c9f7d r0471786  
    451451                x = vport->x;
    452452                for (col = 0; col < vport->cols; col++) {
    453                         if ((row + lines >= 0) && (row + lines < vport->rows)) {
     453                        if (((int) row + lines >= 0) &&
     454                            ((int) row + lines < (int) vport->rows)) {
    454455                                xbp = &vport->backbuf[BB_POS(vport, col, row + lines)];
    455456                                bbp = &vport->backbuf[BB_POS(vport, col, row)];
Note: See TracChangeset for help on using the changeset viewer.