diff --git a/client/client_state.cpp b/client/client_state.cpp index 153b99fd64..a57112d3fa 100644 --- a/client/client_state.cpp +++ b/client/client_state.cpp @@ -426,8 +426,8 @@ int CLIENT_STATE::init() { if (coprocs.coprocs[j].count > MAX_COPROC_INSTANCES) { msg_printf(NULL, MSG_USER_ALERT, "%d instances of %s specified in cc_config.xml; max is %d", - coprocs.coprocs[j].type, coprocs.coprocs[j].count, + coprocs.coprocs[j].type, MAX_COPROC_INSTANCES ); coprocs.coprocs[j].count = MAX_COPROC_INSTANCES; diff --git a/client/rr_sim.cpp b/client/rr_sim.cpp index 47034bc595..a8b7e660b5 100644 --- a/client/rr_sim.cpp +++ b/client/rr_sim.cpp @@ -533,7 +533,7 @@ void RR_SIM::simulate() { rwf.sim_excluded_instances = ~(rwf.sim_used_instances) & mask; if (log_flags.rrsim_detail) { msg_printf(0, MSG_INFO, - "[rrsim_detail] rsc %d: sim_used_inst %d mask %d sim_excluded_instances %d", + "[rrsim_detail] rsc %d: sim_used_inst %lld mask %lld sim_excluded_instances %lld", i, rwf.sim_used_instances, mask, rwf.sim_excluded_instances ); }