public inbox for linux-gpio@vger.kernel.org
 help / color / mirror / Atom feed
* [libgpiod][PATCH] tools: use 'unsigned int' instead of 'uint'
@ 2023-02-09 18:53 Bartosz Golaszewski
  2023-02-09 23:47 ` Kent Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2023-02-09 18:53 UTC (permalink / raw)
  To: Kent Gibson, Linus Walleij, Andy Shevchenko, Viresh Kumar
  Cc: linux-gpio, Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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 <bartosz.golaszewski@linaro.org>
---
 tools/tools-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tools-common.h b/tools/tools-common.h
index efbeeb8..5d39170 100644
--- a/tools/tools-common.h
+++ b/tools/tools-common.h
@@ -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;
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-09 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 18:53 [libgpiod][PATCH] tools: use 'unsigned int' instead of 'uint' Bartosz Golaszewski
2023-02-09 23:47 ` Kent Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox