CONNECT-315 32/64 bit insensitive fix for warning