stress: test_get_device_list: change printf format for ssize_t
authorUri Lublin <uril@redhat.com>
Sun, 5 Jul 2020 13:29:57 +0000 (16:29 +0300)
committerChris Dickens <christopher.a.dickens@gmail.com>
Mon, 10 Aug 2020 17:51:42 +0000 (10:51 -0700)
commitab68ed469763d8f1e8caa63988015b36526edb61
tree4437cab16ee1b5cf511b46943f1548d636412f8d
parentf492968d953f233e6b6946afd402f6718ff7a500
stress: test_get_device_list: change printf format for ssize_t

The type of list_size is ssize_t.
First idea was to use "%zd" printf format specifier.
But that is not supported by Visual Studio 2013.

Use "%ld" + cast list_size to long.

Closes #751

Suggested-by: Chris Dickens <christopher.a.dickens@gmail.com>
Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/version_nano.h
tests/stress.c