VirtualBox

Changeset 3480 in kBuild for trunk/src/kash/memalloc.c


Ignore:
Timestamp:
Sep 21, 2020 11:20:56 AM (4 years ago)
Author:
bird
Message:

kash: build fixes (darwin).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/memalloc.c

    r3477 r3480  
    334334        /*kHlpAssert(end[-1] == '\0'); - not if it's followed by ungrabstrackstr(), sigh. */
    335335        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);
    337337
    338338        nbytes = SHELL_ALIGN(nbytes);
     
    589589}
    590590
    591 #endif KASH_SEPARATE_PARSER_ALLOCATOR
     591#endif /* KASH_SEPARATE_PARSER_ALLOCATOR */
    592592
    593593
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette