Changeset e32e092 in mainline for kernel/test/mm/slab1.c


Ignore:
Timestamp:
2008-06-06T07:34:21Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb1c0a3
Parents:
40257f5
Message:

Declare arguments for memstr.h operations as pointers instead of uintptr_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab1.c

    r40257f5 re32e092  
    5454        for (i = 0; i < count; i++) {
    5555                data[i] = slab_alloc(cache, 0);
    56                 memsetb((uintptr_t) data[i], size, 0);
     56                memsetb(data[i], size, 0);
    5757        }
    5858       
     
    7272        for (i = 0; i < count; i++) {
    7373                data[i] = slab_alloc(cache, 0);
    74                 memsetb((uintptr_t) data[i], size, 0);
     74                memsetb(data[i], size, 0);
    7575        }
    7676       
     
    9090        for (i = count / 2; i < count; i++) {
    9191                data[i] = slab_alloc(cache, 0);
    92                 memsetb((uintptr_t) data[i], size, 0);
     92                memsetb(data[i], size, 0);
    9393        }
    9494       
Note: See TracChangeset for help on using the changeset viewer.