Message ID | 20230209185312.635613-1-brgl@bgdev.pl |
---|---|
State | New |
Headers | show |
Series | [libgpiod] tools: use 'unsigned int' instead of 'uint' | expand |
On Thu, Feb 09, 2023 at 07:53:12PM +0100, Bartosz Golaszewski wrote: > 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 > Oops, my bad. Reviewed-by: Kent Gibson <warthog618@gmail.com>
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;