Mercurial > ecos
changeset 1282:28c8c2fbb86e
* src/dlmalloc.cxx (Cyg_Mempool_dlmalloc_Implementation): Fixed
compiler warning added by previous patch.
| author | asl |
|---|---|
| date | Mon, 06 Oct 2003 18:25:57 +0000 |
| parents | f58b62f3c85d |
| children | 6bb106b4ff93 |
| files | packages/services/memalloc/common/current/ChangeLog packages/services/memalloc/common/current/src/dlmalloc.cxx |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/services/memalloc/common/current/ChangeLog +++ b/packages/services/memalloc/common/current/ChangeLog @@ -1,3 +1,8 @@ +2003-10-06 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/dlmalloc.cxx (Cyg_Mempool_dlmalloc_Implementation): Fixed + compiler warning added by previous patch. + 2003-09-30 Eric Doenges <Eric.Doengea@DynaPel.com> * cdl/memalloc.cdl, src/dlmalloc.cxx: Make the minimum memory
--- a/packages/services/memalloc/common/current/src/dlmalloc.cxx +++ b/packages/services/memalloc/common/current/src/dlmalloc.cxx @@ -980,7 +980,7 @@ Cyg_Mempool_dlmalloc_Implementation::Cyg } // too small to be useful? - if ( correction + 2*MALLOC_ALIGNMENT > (unsigned) size ) + if ( correction + 2*(unsigned)MALLOC_ALIGNMENT > (unsigned) size ) // help catch errors. Don't fail now. arenabase = NULL; else {
