A cast during the reading of a configuration variable was invalid because a 16 bit integer was cast to a 32 bit integer. The called function is only setting the pointer value to 1 or 0 so there is no real issue there.