Use the explicit value 0xffffffff instead of assuming that is what ~0UL equals.
Use the explicit value 0xffffffff instead of assuming that is what ~0UL
equals.

Approved by:	imp

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase