John Levon wrote:
> I needed the below to compile.
> -        return min(col, end - 1 - row.pos());
> +        return min(long(col), end - 1 - row.pos());
>  }

Make that "pos_type(col)" and everyone will be happy...
In fact, it's the wrong fix entirely. The right one is

-    int const col = c - row.pos();
+    pos_type const col = c - row.pos();

I just committed the fix. So much for retirement :)

-- 
Angus

Reply via email to