Previous revision was broken on SPARC, fix it by using more appropriate type.
Previous revision was broken on SPARC, fix it by using more appropriate type.

Reported by:	tindebox
Pointy hat to:	delphij

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