Changeset 3480 in kBuild for trunk/src/kash/memalloc.c
- Timestamp:
- Sep 21, 2020 11:20:56 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/memalloc.c
r3477 r3480 334 334 /*kHlpAssert(end[-1] == '\0'); - not if it's followed by ungrabstrackstr(), sigh. */ 335 335 kHlpAssert(SHELL_ALIGN((uintptr_t)pstart) == (uintptr_t)pstart); 336 kHlpAssert(stackblocksize(psh) - psh->sstrnleft >= nbytes);336 kHlpAssert(stackblocksize(psh) - psh->sstrnleft >= (ssize_t)nbytes); 337 337 338 338 nbytes = SHELL_ALIGN(nbytes); … … 589 589 } 590 590 591 #endif KASH_SEPARATE_PARSER_ALLOCATOR591 #endif /* KASH_SEPARATE_PARSER_ALLOCATOR */ 592 592 593 593
Note:
See TracChangeset
for help on using the changeset viewer.