Changeset f954906 in mainline for uspace/srv/kbd/genarch/gsp.c
- Timestamp:
- 2009-06-30T15:32:46Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82346c50
- Parents:
- c063d96e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/kbd/genarch/gsp.c
rc063d96e rf954906 245 245 key[1] = t->input; 246 246 247 hash_table_insert(&p->trans, &key, &t->link);247 hash_table_insert(&p->trans, key, &t->link); 248 248 } 249 249 … … 277 277 278 278 t = hash_table_get_instance(item, gsp_trans_t, link); 279 return (key[0] == t->old_state && key[1] == t->input); 279 return ((key[0] == (unsigned long) t->old_state) 280 && (key[1] == (unsigned long) t->input)); 280 281 } 281 282
Note:
See TracChangeset
for help on using the changeset viewer.