Changeset 473 for trunk/user/sort


Ignore:
Timestamp:
Aug 21, 2018, 6:01:01 PM (6 years ago)
Author:
alain
Message:

Fix several GCC warning related to the -Wextra compilation option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/sort/sort.c

    r469 r473  
    6464                 unsigned int init_pos )
    6565{
    66     int i;
    67     int j;
    68     int aux;
     66    unsigned int i;
     67    unsigned int j;
     68    int          aux;
    6969
    7070    for(i = 0; i < length; i++)
     
    263263    }
    264264
    265     get_cycle( &cycle );
    266     printf("\n[SORT] main completes barrier init at cycle %d\n", (unsigned int)cycle );
     265    printf("\n[SORT] main completes barrier init\n");
    267266
    268267    // Array to sort initialization
     
    277276#endif
    278277
    279     get_cycle( &cycle );
    280     printf("\n[SORT] main completes array init at cycle %d\n", (unsigned int)cycle );
     278    printf("\n[SORT] main completes array init\n");
    281279
    282280    // launch other threads to execute sort() function
Note: See TracChangeset for help on using the changeset viewer.