Hi Everybody

the compiler throws an error when it runs this function in my code, I couldn't figure out what is wrong with my code, please assist me, thanks :).

Code:
void SMAC::IncreaseCW() {
init rI=2;
DATA_CW=DATA_CW*rI;
double cw = (Random::random() % DATA_CW) * slotTime_sec_;
mhCS_.sched(CLKTICK2SEC(difs_) + cw);
Code:
mac/smac.cc: In member function `void SMAC::IncreaseCW()':
...