tools: use 'unsigned int' instead of 'uint'
PATCH 1/1 tools: use 'unsigned int' instead of 'uint'
From: Bartosz Golaszewski <[email protected]>
uint is an old compatibility name that GCC still provides but clang doesn't. Use unsigned int instead.
Fixes 8ffb6489286f ("tools: line name focussed rework")
Signed-off-by Bartosz Golaszewski <[email protected]>
--- tools/tools-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/tools-common.h +1 -1
@@ -43,7 +43,7 @@ struct resolved_line {int chip_num;/* offset of line on chip */ -uint offset; +unsigned int offset;/* line value for gpioget/set */ int value;
Signature · 1 line
2.37.2
Quoted 27 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
uint is an old compatibility name that GCC still provides but clang doesn't. Use unsigned int instead.
Fixes 8ffb6489286f ("tools: line name focussed rework")Signed-off-by Bartosz Golaszewski <[email protected]>--- tools/tools-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/tools-common.h +1
-1@@ -43,7 +43,7 @@ struct resolved_line {int chip_num;/* offset of line on chip */ -uint offset; +unsigned int offset;/* line value for gpioget/set */ int value;Signature · 1 line
2.37.2
Oops, my bad.
Reviewed-by Kent Gibson <[email protected]>