This is one of the pains in supporting so many different compilers. Some will warn if you assign a volatile pointer to a non volatile pointer, so a cast is required to keep the compiler quiet. Some will do the opposite and warn if you cast. To keep the compiler quite it is sometimes therefore necessary to just disable the warning in the project.
The warning is correct, but changing the code to remove it will just cause warning in other ports
It is not going to cause you a problem (I don’t think).
OK - all of the ports that I’ve done have this Warning - but they all work. One of the development boards that I did a port for has been running for weeks - so I suppose the port is OK…