Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -ra60ec05d359c0d3f014015e9080b6dbcef0fea28 -r477515fb4a6518b538fd218a1638ba2958e82d1c --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision a60ec05d359c0d3f014015e9080b6dbcef0fea28) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 477515fb4a6518b538fd218a1638ba2958e82d1c) @@ -541,7 +541,7 @@ if ( resID < NUM_OF_DG_RESERVOIRS ) { dgActiveReservoirSet = resID; - sendDGSwitchReservoirCommand( resID ); + sendDGSwitchReservoirCommand( (U32)resID ); // reset treatment reservoir mgmt. state machine on reservoir switch currentTrtResMgmtState = TREATMENT_RESERVOIR_MGMT_START_STATE; }