Changeset 9e05055 in mainline for uspace/app/top/top.c


Ignore:
Timestamp:
2010-04-18T17:41:09Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bd01a4e
Parents:
7d42cc9
Message:

return value from tgetchar() must be "int" ("char" is unsigned on some platforms)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/top/top.c

    r7d42cc9 r9e05055  
    255255        operation_type = OP_TASKS;
    256256        while (true) {
    257                 char c = tgetchar(UPDATE_INTERVAL);
     257                int c = tgetchar(UPDATE_INTERVAL);
    258258                if (c < 0) {
    259259                        if ((ret = read_data(&data)) != NULL) {
Note: See TracChangeset for help on using the changeset viewer.