diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-02-11 04:52:37 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-02-11 04:52:37 +0000 |
commit | 8022a681a34f0bb518dc6bafbfcaf543bb1026eb (patch) | |
tree | a0bb15453a97c1156490bcb10e5287b0f740a6a6 /cpukit/score/src/heap.c | |
parent | 2007-02-11 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-8022a681a34f0bb518dc6bafbfcaf543bb1026eb.tar.bz2 |
Use size_t for heap-sizes.
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r-- | cpukit/score/src/heap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c index 5e7a8804d2..5f45668da0 100644 --- a/cpukit/score/src/heap.c +++ b/cpukit/score/src/heap.c @@ -205,8 +205,8 @@ uint32_t _Heap_Initialize( * Convert user requested 'size' of memory block to the block size. * Return block size on success, 0 if overflow occured */ -uint32_t _Heap_Calc_block_size( - uint32_t size, +size_t _Heap_Calc_block_size( + size_t size, uint32_t page_size, uint32_t min_size) { |