From f8af7233531466226376d8da4b9e850b5f36593a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 13 Mar 2016 12:46:31 +0100 Subject: [PATCH] onewire plugin: fix one more compiler warning comparison of integers of different signs: 'int' and 'unsigned long' --- src/onewire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onewire.c b/src/onewire.c index 3c3afdf6..3c441ecb 100644 --- a/src/onewire.c +++ b/src/onewire.c @@ -459,7 +459,7 @@ static int cow_read_bus (const char *path) else status = ssnprintf (subpath, sizeof (subpath), "%s/%s", path, buffer_ptr); - if ((status <= 0) || (status >= sizeof (subpath))) + if ((status <= 0) || (status >= (int) sizeof (subpath))) continue; for (i = 0; i < ow_family_features_num; i++) -- 2.30.2