strutils_star_glob_match() receives a size_t. Passing -1ULL truncates
the value implicitly on systems where size_t is 32-bit. It is cleaner to
use SIZE_T.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
int lttng_match_enabler_star_glob(const char *desc_name,
const char *pattern)
{
int lttng_match_enabler_star_glob(const char *desc_name,
const char *pattern)
{
- if (!strutils_star_glob_match(pattern, -1ULL, desc_name, -1ULL))
+ if (!strutils_star_glob_match(pattern, SIZE_MAX, desc_name, SIZE_MAX))