I get the above warning with the following code. I have used this same process in the past without any warning. I have not been able to eliminate the warning.
Code://FUNCTION int FUPW_f(int *index, int i) //Pulse Width Function { int j; int FPW; if (i > 3) j = 1; else j = 0; FPW = *(index + j); return FPW; } //main int FULPW[8]; int FUPW_REG[2]; int PWOFF; for (i = 0; i < 8; i++) { FULPW[i] = (FUPW_f(*FUPW_REG, i) + PWOFF); } }