Changeset 6c441cf8 in mainline for kernel/arch/arm32


Ignore:
Timestamp:
2008-02-27T11:49:17Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
56976a17
Parents:
fdb7795
Message:

code cleanup (mostly signed/unsigned)
allow extra compiler warnings

Location:
kernel/arch/arm32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/arm32.c

    rfdb7795 r6c441cf8  
    5656void arch_pre_main(void)
    5757{
    58         int i;
     58        unsigned int i;
    5959
    6060        init.cnt = bootinfo.cnt;
  • kernel/arch/arm32/src/cpu/cpu.c

    rfdb7795 r6c441cf8  
    5757
    5858/** Length of the #imp_data array */
    59 static int imp_data_length = sizeof(imp_data) / sizeof(char *);
     59static unsigned int imp_data_length = sizeof(imp_data) / sizeof(char *);
    6060
    6161/** Architecture names */
     
    7272
    7373/** Length of the #arch_data array */
    74 static int arch_data_length = sizeof(arch_data) / sizeof(char *);
     74static unsigned int arch_data_length = sizeof(arch_data) / sizeof(char *);
    7575
    7676
  • kernel/arch/arm32/src/debug/print.c

    rfdb7795 r6c441cf8  
    5757static int debug_write(const char *str, size_t count, void *unused)
    5858{
    59         int i;
    60         for (i = 0; i < count; ++i) {
     59        unsigned int i;
     60        for (i = 0; i < count; ++i)
    6161                putc(str[i]);
    62         }
     62       
    6363        return i;
    6464}
Note: See TracChangeset for help on using the changeset viewer.