Brian Norris 577aedad06 sharedmem: use 'unsigned long long' for memory region parsing
I see warnings like this:

sharedmem.c:89:44: warning: incompatible pointer types passing 'uint64_t *' (aka 'unsigned long long *') to parameter of type 'unsigned long *' [-Wincompatible-pointer-types]

Since 'unsigned long' might actually be smaller than 'uint64_t', we
should really upgrade to 'unsigned long long' parsing.

At the same time, the existing error handling was wrong: it should have
been looking for ULONG_MAX (per the man page). Convert that to
ULLONG_MAX to fix that bug while we're at it.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2018-07-05 07:01:36 -07:00
2016-06-02 10:30:22 -07:00
2016-06-02 10:29:40 -07:00
2018-02-01 02:28:17 +00:00
2017-07-28 16:26:09 -07:00
2018-05-21 17:05:29 -07:00
2016-02-07 09:32:14 -08:00
2016-02-07 09:32:14 -08:00
Description
No description provided
BSD-3-Clause 144 KiB
Languages
C 98.4%
Makefile 1.6%