Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: iio_info: Explicitely cast error codes to int
iio_strerror() expects an "int" value for the error code. Visual Studio will complain if we are passing a ssize_t, as it is a downcast. However, we know that error codes all fit in "int", so the downcast is safe. Signed-off-by: Paul Cercueil <[email protected]>
- Loading branch information