Changeset 382 for trunk


Ignore:
Timestamp:
Apr 28, 2013, 3:47:29 PM (12 years ago)
Author:
alain
Message:

Removing compilation warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/generic_llsc_global_table/include/generic_llsc_global_table.h

    r334 r382  
    302302    {
    303303        #define L2 soclib::common::uint32_log2
    304         assert(nb_procs > 1); //nb_procs must be more than 1
    305         //TODO >= or > ?
    306         assert(nb_slots >= L2(nb_procs)); // nb_slot cannot be less then log2(nb_procs)
     304        assert(nb_procs > 1);
     305        assert((int)nb_slots >= L2(nb_procs));
    307306        #undef L2
    308307        init();
Note: See TracChangeset for help on using the changeset viewer.