Changeset 5614552


Ignore:
Timestamp:
Jun 21, 2021, 3:41:43 PM (3 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
jacob/cs343-translation, master, new-ast-unique-expr
Children:
953827a
Parents:
ef94ae7
Message:

Fixed warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/ready_queue.cfa

    ref94ae7 r5614552  
    287287                /* paranoid */ verify(map.start * READYQ_SHARD_FACTOR < lanes.count);
    288288                /* paranoid */ verify(map.self * READYQ_SHARD_FACTOR < lanes.count);
    289                 /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have %u lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR);
     289                /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have %zu lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR);
    290290
    291291                const int start = map.self * READYQ_SHARD_FACTOR;
     
    327327                /* paranoid */ verify(map.start * READYQ_SHARD_FACTOR < lanes.count);
    328328                /* paranoid */ verify(map.self * READYQ_SHARD_FACTOR < lanes.count);
    329                 /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have %u lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR);
     329                /* paranoid */ verifyf((map.start + map.count) * READYQ_SHARD_FACTOR <= lanes.count, "have %zu lanes but map can go up to %u", lanes.count, (map.start + map.count) * READYQ_SHARD_FACTOR);
    330330
    331331                processor * const proc = kernelTLS().this_processor;
Note: See TracChangeset for help on using the changeset viewer.