Changeset be12474 in mainline for uspace/app/tester/mm/common.c


Ignore:
Timestamp:
2015-08-30T14:52:08Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cb0ca35
Parents:
df13836
Message:

Revisit a few uses of list_count, list_nth w.r.t. type used for object count.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/mm/common.c

    rdf13836 rbe12474  
    309309                return NULL;
    310310       
    311         unsigned int idx = rand() % mem_blocks_count;
     311        unsigned long idx = rand() % mem_blocks_count;
    312312        link_t *entry = list_nth(&mem_blocks, idx);
    313313       
Note: See TracChangeset for help on using the changeset viewer.