diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-15 21:06:46 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-19 13:41:05 +0100 |
commit | b599d3c836c7a5c4c665339279a47da8be914789 (patch) | |
tree | 53c8fe9fd4711a719991593c240125158bbb18ae /src/pulsecore/cli-command.c | |
parent | c470680e1ba008c05c13231dbbafd69cb9330488 (diff) |
Fix pa_rtclock_from_wallclock
The HAVE_CLOCK_GETTIME macro protects timespec and related functions, nothing of which is used in
pa_rtclock_from_wallclock. And silently just not converting was not the proper solution anyway.
Also add an assert in pulse/mainloop.c to report the integer overflow that was triggered by the wrong
pa_rtclock_from_wallclock. Without the assert, debugging was painful.
Diffstat (limited to 'src/pulsecore/cli-command.c')
0 files changed, 0 insertions, 0 deletions