if (cmdlineDlbState == edlbsOnUser)
{
- gmx_fatal(FARGS, (dlbNotSupportedErr + reasonStr).c_str());
+ gmx_fatal(FARGS, "%s", (dlbNotSupportedErr + reasonStr).c_str());
}
else if (cmdlineDlbState == edlbsOffCanTurnOn)
{
{
if (state_local->ddp_count > dd->ddp_count)
{
- gmx_fatal(FARGS, "Internal inconsistency state_local->ddp_count (%d) > dd->ddp_count (%d)", state_local->ddp_count, dd->ddp_count);
+ gmx_fatal(FARGS, "Internal inconsistency state_local->ddp_count (%d) > dd->ddp_count (%ld)", state_local->ddp_count, dd->ddp_count);
}
if (state_local->ddp_count_cg_gl != state_local->ddp_count)