The above warning is giving from this line:
fseek(fp, -sizeof(usr), SEEK_CUR);
here fp is my file pointer and usr is my struct. I am doing the above for updating struct from a file..
I tried out various ways but couldn't remove warning:
more precise warnings:
warning: overflow in conversion from 'long long unsigned int' to 'long int' changes value from '18446744073709551304' to '-312' [-Woverflow]
fseek(fp, -sizeof(usr), SEEK_CUR);