From f6dd1931422ba0ea1176d08d993d066694f8aa0d Mon Sep 17 00:00:00 2001 From: Steven Qie Date: Mon, 3 Feb 2025 23:17:42 -0600 Subject: [PATCH] initial/basic changes --- README.rst | 2 +- src/reduction.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index c46e159..e053bed 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ Installation 5. Install charmpandas:: - git clone https://github.com/adityapb/charmpandas.git + git clone https://github.com/UIUC-PPL/charmpandas.git cd charmpandas/src export CHARMDIR= export XXHASH_DIR= diff --git a/src/reduction.hpp b/src/reduction.hpp index 162b755..08bc8e4 100644 --- a/src/reduction.hpp +++ b/src/reduction.hpp @@ -45,10 +45,10 @@ AggregateReductionMsg* create_reduction_msg(int result_name, int table_size, cha int total_size = sizeof(AggregateReductionMsg) + table_size + options_size; void* buffer = ::operator new(total_size); AggregateReductionMsg* msg = new (buffer) AggregateReductionMsg(result_name, table_size, options_size); - char* msg_options = reinterpret_cast(buffer + sizeof(AggregateReductionMsg)); + char* msg_options = reinterpret_cast((char*)buffer + sizeof(AggregateReductionMsg)); if (table_size > 0) { - char* msg_table = reinterpret_cast(buffer + sizeof(AggregateReductionMsg) + options_size); + char* msg_table = reinterpret_cast((char*)buffer + sizeof(AggregateReductionMsg) + options_size); std::memcpy(msg_table, table, table_size); } std::memcpy(msg_options, options, options_size);