Avoid overflow in calcru().  Fixes PR 788.
Avoid overflow in calcru().  Fixes PR 788.

Submitted by:	imdave@synet.net (Dave Bodenstab)

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