diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 8c9dbc2..2266e87 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -2301,7 +2301,7 @@ extern "C" int kni_init(){ struct kni_htable_opt opt; memset(&opt, 0, sizeof(opt)); kni_get_htable_opt(&opt, profile, "traceid2pme_htable", NULL, (void*)traceid2pme_htable_expire_notify_cb, local_logger); - traceid2pme_htable = kni_create_htable("traceid2pme_htable", &opt, local_logger); + traceid2pme_htable = kni_create_htable((char*)"traceid2pme_htable", &opt, local_logger); if(traceid2pme_htable == NULL){ KNI_LOG_ERROR(local_logger, "Failed at create traceid2pme_htable"); goto error_out; @@ -2313,7 +2313,7 @@ extern "C" int kni_init(){ memset(&opt, 0, sizeof(opt)); kni_get_htable_opt(&opt, profile, "tuple2stream_htable", (void*)tuple2stream_htable_data_free_cb, NULL, local_logger); for(int i = 0; i < g_kni_handle->thread_count; i++){ - MESA_htable_handle tuple2stream_htable = kni_create_htable("tuple2stream_htable", &opt, local_logger); + MESA_htable_handle tuple2stream_htable = kni_create_htable((char*)"tuple2stream_htable", &opt, local_logger); if(tuple2stream_htable == NULL){ KNI_LOG_ERROR(local_logger, "Failed at kni_create_htable, table = tuple2stream_htable"); goto error_out;