Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 14:35:03 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Davide Italiano <davide@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r270227 - head/sys/sys
Message-ID:  <CAJOYFBDx7EjBD9L8zrMHperzy9qa%2BboZn49LY9TRm7nPE9CRCw@mail.gmail.com>
In-Reply-To: <201408201632.s7KGW2vF093636@svn.freebsd.org>
References:  <201408201632.s7KGW2vF093636@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey!

On 20 August 2014 18:32, Davide Italiano <davide@freebsd.org> wrote:
> -       _bt->frac = _ts->tv_nsec * (uint64_t)18446744073LL;
> +       _bt->frac = _ts->tv_nsec * (uint64_t)18446744073;

You could also consider using UINT64_C(18446744073); that's the C
standard way of creating an integer constant having a certain type.

-- 
Ed Schouten <ed@80386.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBDx7EjBD9L8zrMHperzy9qa%2BboZn49LY9TRm7nPE9CRCw>