deviceoptions.cpp make compile error on 32 bit systems