DragonFly commits List (threaded) for 2012-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_3_2 int64_t is long on x86_64, and not always equivalent to long long.
commit 422a5c5503a13d54a60f5e93eafe35831ed5088b
Author: Sascha Wildner <saw@online.de>
Date: Thu Nov 29 21:57:05 2012 +0100
int64_t is long on x86_64, and not always equivalent to long long.
Similarly, uint64_t is unsigned long.
For their min/max value definitions, change LL/ULL suffixes to L/UL.
The bug report has some C++ sample code that show issues resulting
from treating them as long long.
Reported-by: David Shao <davshao@gmail.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2461>
Summary of changes:
sys/cpu/x86_64/include/int_limits.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/422a5c5503a13d54a60f5e93eafe35831ed5088b
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]