unit-tests: Pass linked_list->invoke* varargs as uintptr_t
authorMartin Willi <martin@revosec.ch>
Thu, 17 Oct 2013 15:05:38 +0000 (17:05 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 6 Nov 2013 09:31:00 +0000 (10:31 +0100)
commit712940d1619e4e49f3aa9e87a67d89cd1d50a4b1
tree3fe6bd6b544b60d18be390885ea5abdc26e9ed7a
parentf7b8396af08102b7136f36fd394cb13ae92cb3ed
unit-tests: Pass linked_list->invoke* varargs as uintptr_t

Passing integers of unspecified length may result in passing an integer shorter
than uintptr_t. When reading them back, we might get more data than passed,
resulting in a failure.
src/libstrongswan/tests/suites/test_linked_list.c