]> git.tuebingen.mpg.de Git - paraslash.git/commit
tv_scale(): Avoid integer overflow.
authorAndre Noll <maan@systemlinux.org>
Sat, 19 Sep 2009 08:11:19 +0000 (10:11 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 19 Sep 2009 08:11:19 +0000 (10:11 +0200)
commit732788db7acd64506a2c6d2432587a1fd6ac309e
tree870d134258433a85b9d72e6222b1937106d4caa9
parentf21270523b4500797f7976906998128f5ff5da72
tv_scale(): Avoid integer overflow.

Just use an uint64_t and compute everything in microseconds which even
simplifies the code a bit.
time.c