Use SIZE_MAX instead of -1ULL for size_t parameter
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 11 Mar 2017 13:44:42 +0000 (08:44 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 11 Mar 2017 13:44:42 +0000 (08:44 -0500)
commitdbfc656f7bcbe0333d65536f0d7f3e52b6f24e74
tree23704f4a057f05965a64210ed6190a603d745d2e
parent2339237cc8d7ceb743c61522cbd3822a45932ea0
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>
lttng-events.c
This page took 0.025361 seconds and 4 git commands to generate.