Window has type long, so add CLP support for longs.

Phạm Duy Tân report.