mql: Use correct pointer type