mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-20 08:56:47 -05:00
add a few more gcc warning flags and fix quite a few problems found by doing so
This commit is contained in:
parent
047eb52b52
commit
b7026bf248
99 changed files with 810 additions and 776 deletions
|
|
@ -260,8 +260,8 @@ int pa_msleep(unsigned long t) {
|
|||
#elif defined(HAVE_NANOSLEEP)
|
||||
struct timespec ts;
|
||||
|
||||
ts.tv_sec = t/1000UL;
|
||||
ts.tv_nsec = (t % 1000UL) * 1000000UL;
|
||||
ts.tv_sec = (time_t) (t/1000UL);
|
||||
ts.tv_nsec = (long) ((t % 1000UL) * 1000000UL);
|
||||
|
||||
return nanosleep(&ts, NULL);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue