mirror of
https://github.com/linux-msm/rmtfs.git
synced 2025-12-24 14:06:25 +01:00
577aedad0680c03ba2ff49d53a6b621a022dc979
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>
Description
Languages
C
98.4%
Makefile
1.6%