Changeset 7bc84b8 for tests/io


Ignore:
Timestamp:
Nov 21, 2022, 9:04:47 PM (21 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
d41735a
Parents:
857081e
Message:

remove unsigned cast for prng calls

Location:
tests/io
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/io/away_fair.cfa

    r857081e r7bc84b8  
    6767                #endif
    6868
    69                 yield( (unsigned)prng( this, 15 ) );
     69                yield( prng( this, 15 ) );
    7070
    7171                #if CFA_HAVE_LINUX_IO_URING_H
  • tests/io/comp_basic.cfa

    r857081e r7bc84b8  
    5858                block( globals.bar );
    5959
    60                 yield( (unsigned)prng( this, 15 ) );
     60                yield( prng( this, 15 ) );
    6161
    6262                unsigned i = __atomic_add_fetch( &counter, 1, __ATOMIC_SEQ_CST );
  • tests/io/comp_fair.cfa

    r857081e r7bc84b8  
    7878                block( globals.bar );
    7979
    80                 yield( (unsigned)prng( this, 15 ) );
     80                yield( prng( this, 15 ) );
    8181
    8282                unsigned i = __atomic_add_fetch( &counter, 1, __ATOMIC_SEQ_CST );
Note: See TracChangeset for help on using the changeset viewer.