Changeset 18c485a in mainline


Ignore:
Timestamp:
2008-11-21T10:12:52Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1378b2b
Parents:
1d8cdb1
Message:

Do not typecast (sysarg_t *) to (int *). Especially on big endian 64-bit
machines, this does not have the intended effect.

File:
1 edited

Legend:

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

    r1d8cdb1 r18c485a  
    467467                                continue;
    468468                        }
    469                         keybuffer_pop(&conn->keybuffer, (int *) &arg1);
     469                        int ch;
     470                        keybuffer_pop(&conn->keybuffer, &ch);
     471                        arg1 = ch;
    470472                        break;
    471473                }
Note: See TracChangeset for help on using the changeset viewer.