author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 12 Mar 2016 16:30:58 +0000 (17:30 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 12 Mar 2016 16:30:58 +0000 (17:30 +0100) | ||
commit | 9d5c9e04aac3689f49098cba0e630128c0ef4caa | |
tree | 254506a2584bf993e909d6276393183eeacfb9c2 | tree | snapshot |
parent | 3b1f0d44229bfff06dd915d4d52a7f12062f5adc | commit | diff |
onewire plugin: fix two compiler warnings
onewire.c:418:31: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if ((status > 0) && (status < sizeof (subpath)))
~~~~~~ ^ ~~~~~~~~~~~~~~~~
onewire.c:422:31: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if ((status > 0) && (status < sizeof (subpath)))
~~~~~~ ^ ~~~~~~~~~~~~~~~~
onewire.c:418:31: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if ((status > 0) && (status < sizeof (subpath)))
~~~~~~ ^ ~~~~~~~~~~~~~~~~
onewire.c:422:31: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if ((status > 0) && (status < sizeof (subpath)))
~~~~~~ ^ ~~~~~~~~~~~~~~~~
src/onewire.c | diff | blob | history |