Quantcast
Channel: gitweb.dragonflybsd.org Git - dragonfly.git/rss log
Viewing all articles
Browse latest Browse all 40

int64_t is long on x86_64, and not always equivalent to long long.

$
0
0
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>
  • [DBH] sys/cpu/x86_64/include/int_limits.h

Viewing all articles
Browse latest Browse all 40

Trending Articles