diff options
Diffstat (limited to 'nuttx/libxx/libxx_new.cxx')
-rwxr-xr-x | nuttx/libxx/libxx_new.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/libxx/libxx_new.cxx b/nuttx/libxx/libxx_new.cxx index d9044207fe..fd088333ac 100755 --- a/nuttx/libxx/libxx_new.cxx +++ b/nuttx/libxx/libxx_new.cxx @@ -59,8 +59,9 @@ // // NOTE: // This should take a type of size_t, which for ARM GCC is unsigned long. -// but size_t may actually be a different different, in sys/include.h it -// is typed as uint32. Need to REVISIT this. +// but size_t may actually be a different different type, in sys/include.h, +// it is typed as uint32. Need to REVISIT this. +// //*************************************************************************** //void *operator new(size_t nbytes) @@ -68,7 +69,7 @@ void *operator new(unsigned long nbytes) { // We have to allocate something - if (nbytes< 1) + if (nbytes < 1) { nbytes = 1; } |