Use SIZE_MAX instead of -1ULL for size_t parameter
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 11 Mar 2017 13:43:09 +0000 (08:43 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 11 Mar 2017 13:43:09 +0000 (08:43 -0500)
commit1f6f42e63ae50237f22963733d71a208f9e36599
treea358b20574b2b4cf53e186944ef3d70522bc63b9
parenta63d0dc8be804cab34db94489e15dd99fd1f05a2
Use SIZE_MAX instead of -1ULL for size_t parameter

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>
liblttng-ust/lttng-events.c
This page took 0.024287 seconds and 4 git commands to generate.