X-Git-Url: http://winboard.nl/cgi-bin?p=capablanca.git;a=blobdiff_plain;f=lasker-2.2.3%2Fsrc%2Futils.c;h=9b3ee5ca50726f98889230961ed0b77777c259a9;hp=d4c1da7497fa4ee7521ceb406b5ac805e5f285c2;hb=318bcd2df2a468bb49ff228d885351d70390a28a;hpb=696676da82327e74a1e2addf74702c5a309ce8b7 diff --git a/lasker-2.2.3/src/utils.c b/lasker-2.2.3/src/utils.c index d4c1da7..9b3ee5c 100644 --- a/lasker-2.2.3/src/utils.c +++ b/lasker-2.2.3/src/utils.c @@ -485,7 +485,7 @@ unsigned tenth_secs(void) */ int untenths(unsigned tenths) { - return (tenths / 10 + 331939277 + 0xffffffff / 10 + 1); + return (tenths / 10 + 331939277 + 4*((1<<30) / 5) + 1); } char *tenth_str(unsigned t, int spaces)