Open BlueArc0 opened 2 years ago
fix build error for Python3: TypeError: %x format: an integer is required, not float
replace / with // in 3 places. in Python2, 16 / 32 == int(0) ; but in Python3, 16 / 32 == float(0.5) ; and in Python2 and Python3, 16 // 32 == int(0) ;
fix build error for Python3: TypeError: %x format: an integer is required, not float
replace / with // in 3 places. in Python2, 16 / 32 == int(0) ; but in Python3, 16 / 32 == float(0.5) ; and in Python2 and Python3, 16 // 32 == int(0) ;