File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ add_library(plasma_lib STATIC
7878target_link_libraries (plasma_lib ${FLATBUFFERS_STATIC_LIB} -lpthread)
7979add_dependencies (plasma_lib gen_plasma_fbs)
8080
81+ set_source_files_properties (malloc.cc PROPERTIES COMPILE_FLAGS "-Wno-error=conversion" )
82+
8183add_executable (plasma_store
8284 plasma_store.cc
8385 thirdparty/ae/ae.c
Original file line number Diff line number Diff line change 1212
1313extern " C" {
1414void *fake_mmap (size_t );
15- int fake_munmap (void *, size_t );
15+ int fake_munmap (void *, int64_t );
1616
1717#define MMAP (s ) fake_mmap(s)
1818#define MUNMAP (a, s ) fake_munmap(a, s)
@@ -126,7 +126,7 @@ void *fake_mmap(size_t size) {
126126 return pointer;
127127}
128128
129- int fake_munmap (void *addr, size_t size) {
129+ int fake_munmap (void *addr, int64_t size) {
130130 ARROW_LOG (DEBUG) << " fake_munmap(" << addr << " , " << size << " )" ;
131131 addr = pointer_retreat (addr, sizeof (size_t ));
132132 size += sizeof (size_t );
You can’t perform that action at this time.
0 commit comments