Fix ping lag calculation on 32 bit systems. Closes issue #187.

This commit is contained in:
Kris Maglione 2010-06-04 16:16:36 -04:00
parent 217ce27a4b
commit eb54fce1b5
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ ewmh_init(void) {
inline bool
ewmh_responsive_p(Client *c) {
return c->w.ewmh.ping == 0 || nsec() / 1000000 - c->w.ewmh.ping < PingTime;
return c->w.ewmh.ping == 0 || (ulong)(nsec() / 1000000) - c->w.ewmh.ping < PingTime;
}
void