Commit efaa1aba authored by Philip Carns's avatar Philip Carns

hush warning about void* type for ULT fn

parent 3e270a86
...@@ -203,7 +203,7 @@ hg_return_t __name##_handler(hg_handle_t handle) { \ ...@@ -203,7 +203,7 @@ hg_return_t __name##_handler(hg_handle_t handle) { \
__hgi = HG_Get_info(handle); \ __hgi = HG_Get_info(handle); \
__mid = margo_hg_class_to_instance(__hgi->hg_class); \ __mid = margo_hg_class_to_instance(__hgi->hg_class); \
__pool = margo_get_handler_pool(__mid); \ __pool = margo_get_handler_pool(__mid); \
__ret = ABT_thread_create(*__pool, __name, handle, ABT_THREAD_ATTR_NULL, NULL); \ __ret = ABT_thread_create(*__pool, (void (*)(void *))__name, handle, ABT_THREAD_ATTR_NULL, NULL); \
if(__ret != 0) { \ if(__ret != 0) { \
return(HG_NOMEM_ERROR); \ return(HG_NOMEM_ERROR); \
} \ } \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment