diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-10-06 13:15:28 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-10-06 13:15:28 +0200 |
commit | 5f45b7d53361bd32ce390e12f814660a98f86aa9 (patch) | |
tree | 53612a69e99fcb3c30392e9b682da3b0ff844f3e /mgenmid.c | |
parent | ce9ac3aff4bd2fe58132c3ec194269abe4fda4a7 (diff) | |
download | mblaze-5f45b7d53361bd32ce390e12f814660a98f86aa9.tar.gz mblaze-5f45b7d53361bd32ce390e12f814660a98f86aa9.tar.xz mblaze-5f45b7d53361bd32ce390e12f814660a98f86aa9.zip |
use appropriate integer types
Mainly found with clang -Wconversion -Wshorten-64-to-32.
Diffstat (limited to 'mgenmid.c')
-rw-r--r-- | mgenmid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mgenmid.c b/mgenmid.c index a578bcc..497cbc4 100644 --- a/mgenmid.c +++ b/mgenmid.c @@ -103,7 +103,7 @@ fallback: rnd = ((uint64_t)lrand48() << 32) + lrand48(); } - rnd |= (1LL << 63); // set highest bit to force full width + rnd |= (1ULL << 63); // set highest bit to force full width putchar('<'); printb36(((uint64_t)tp.tv_sec * 1000000LL + tp.tv_usec)); |