Commit 5aea4470 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

NULL is a data pointer.

parent 840ba113
......@@ -131,7 +131,7 @@ xt_exchanger_simple_base_new(int nsend, int nrecv,
* lifetime of the created exchanger object
*/
if (s_func == NULL)
if (s_func == 0)
Xt_abort(comm, "ERROR(xt_exchanger_simple_base_new): invalid synchronous "
"exchange function pointer", __FILE__, __LINE__);
......
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