added 32bit/64bit error checking

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>