From: Rich Felker Date: Fri, 24 May 2013 00:38:51 +0000 (-0400) Subject: change underlying type of clock_t to be uniform and match ABI X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=5e642b5a2395893873affa2a121a694943b3f4e0;hp=5e642b5a2395893873affa2a121a694943b3f4e0 change underlying type of clock_t to be uniform and match ABI previously we were using an unsigned type on 32-bit systems so that subtraction would be well-defined when it wrapped, but since wrapping is non-conforming anyway (when clock() overflows, it has to return -1) the only use of unsigned would be to buy a little bit more time before overflow. this does not seem worth having the type vary per-arch (which leads to more arch-specific bugs) or disagree with the ABI musl (mostly) follows. ---