Fix: tests: integer truncation warning on 32-bit platforms
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 22 Apr 2021 14:17:04 +0000 (10:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 22 Apr 2021 14:17:04 +0000 (10:17 -0400)
large integer implicitly truncated to unsigned type [-Woverflow]

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I3e479d240c25550f44bbf40944484870da85a401

tests/regression/tools/trigger/name/trigger_name.c

index d0d82a8afa9ad628e6c410be6d2d7c19abd56798..fe62b9011c8434b707e529e5f076fb2d4884ec1a 100644 (file)
@@ -152,7 +152,7 @@ end:
  * important for the purposes of this test.
  */
 static
-struct lttng_trigger *create_trigger(size_t threshold)
+struct lttng_trigger *create_trigger(uint64_t threshold)
 {
        struct lttng_condition *condition = NULL;
        struct lttng_action *action = NULL;
This page took 0.026093 seconds and 4 git commands to generate.