Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 10, 2019
1 parent f971884 commit 649ddc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clib/pioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ int PIOc_set_hint(int iosysid, const char *hint, const char *hintval)

/* Set the MPI hint. */
if (ios->ioproc)
if ((mpierr = MPI_Info_set(ios->info, hint, hintval)))
if ((mpierr = MPI_Info_set(ios->info, (char *)hint, (char *)hintval)))
return check_mpi2(ios, NULL, mpierr, __FILE__, __LINE__);

return PIO_NOERR;
Expand Down

0 comments on commit 649ddc9

Please sign in to comment.