From 5f45b7d53361bd32ce390e12f814660a98f86aa9 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 6 Oct 2017 13:15:28 +0200 Subject: use appropriate integer types Mainly found with clang -Wconversion -Wshorten-64-to-32. --- mgenmid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mgenmid.c') 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)); -- cgit 1.4.1