On Mon, Dec 14, 2009 at 05:51:57AM +0000, Matt Thomas wrote:
 > Suppress a warning if time_t is __int64_t

-                               } while ((sse * 10 <= TIME_MAX) &&
+                               } while (((uint64_t)(sse * 10) <= TIME_MAX) &&

Don't you want ((uint64_t)sse * 10 <= TIME_MAX), that is, cast before
multiplying?

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to