display: Fix window pings

These are 32-bit values, not longs. Treat them as such.