Libc update to simplify merge.
Bumping libc files for unsupported architectures, to simplify merging. A bunch of small fixes: * in libutil update * the macro in endian.h * some undefined types due to clear separation from host. * Fix a warning for cdbr.c Some modification which were required for the new build system: * inclusion path for const.h in sconst, still hacky * Removed default malloc.c which conflicts on some occasions.
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ cdbr_open(const char *path, int flags)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (read(fd, cdbr->mmap_base, cdbr->mmap_size) != cdbr->mmap_size)
|
||||
if ((size_t)read(fd, cdbr->mmap_base, cdbr->mmap_size) != cdbr->mmap_size)
|
||||
{
|
||||
free(cdbr->mmap_base);
|
||||
free(cdbr);
|
||||
|
||||
Reference in New Issue
Block a user