fix a few compiler warnings on older gcc

This commit is contained in:
Lennart Poettering 2008-08-29 23:53:55 +02:00
parent 506eacc922
commit 13018d62c1
10 changed files with 19 additions and 19 deletions

View file

@ -437,7 +437,7 @@ static void start_timeout(pa_socket_client *c) {
pa_assert(!c->timeout_event);
pa_gettimeofday(&tv);
pa_timeval_add(&tv, CONNECT_TIMEOUT * 1000000);
pa_timeval_add(&tv, CONNECT_TIMEOUT * PA_USEC_PER_SEC);
c->timeout_event = c->mainloop->time_new(c->mainloop, &tv, timeout_cb, c);
}