Added check for type B which is boolean in 64bit devices