Fix compilation error in direct data access code.