Changeset a405563 in mainline for uspace/app/tetris


Ignore:
Timestamp:
2009-08-02T18:51:49Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f019cc07
Parents:
30885b9
Message:

Fix some warnings.

Location:
uspace/app/tetris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/shapes.c

    r30885b9 ra405563  
    8888int fits_in(const struct shape *shape, int pos)
    8989{
    90         int *o = shape->off;
     90        const int *o = shape->off;
    9191       
    9292        if ((board[pos]) || (board[pos + *o++]) || (board[pos + *o++]) ||
     
    103103void place(const struct shape *shape, int pos, int onoff)
    104104{
    105         int *o = shape->off;
     105        const int *o = shape->off;
    106106       
    107107        board[pos] = onoff ? shape->color : 0x000000;
  • uspace/app/tetris/tetris.c

    r30885b9 ra405563  
    238238        int pos;
    239239        int c;
    240         char *keys;
     240        const char *keys;
    241241        int level = 2;
    242242        char key_write[6][10];
Note: See TracChangeset for help on using the changeset viewer.