'Fix the given *dtype* for comparison.'

def _fix_dtype(self, dtype):

    if ((sys.platform == 'win32') and (sys.maxsize > (2 ** 32)) and (dtype == np.dtype('int32'))):
        return np.dtype('int64')
    else:
        return dtype
