public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] locale: Fix implicit conversion on collate_finish
@ 2022-10-04 12:58 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:58 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9e90d41dac3d61ad32039f4e0709b84a4234b7a2
commit 9e90d41dac3d61ad32039f4e0709b84a4234b7a2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 10 09:54:02 2022 -0300
locale: Fix implicit conversion on collate_finish
Clang issues:
programs/ld-collate.c:1824:55: error: implicit conversion from 'unsigned
long' to 'unsigned int' changes value from 18446744073709551615 to
4294967295 [-Werror,-Wconstant-conversion]
collate->undefined.used_in_level = need_undefined ? ~0ul : 0;
~ ^~~~
Diff:
---
locale/programs/ld-collate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index c790623cbc..87b20a2466 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1821,7 +1821,7 @@ symbol `%s' has the same encoding as"), (*eptr)->name);
/* Now determine whether the UNDEFINED entry is needed and if yes,
whether it was defined. */
- collate->undefined.used_in_level = need_undefined ? ~0ul : 0;
+ collate->undefined.used_in_level = need_undefined ? ~0u : 0;
if (collate->undefined.file == NULL)
{
if (need_undefined)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/clang] locale: Fix implicit conversion on collate_finish
@ 2023-02-09 19:47 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:47 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=53a36442b3403d35250775599fcba07a761298e4
commit 53a36442b3403d35250775599fcba07a761298e4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 10 09:54:02 2022 -0300
locale: Fix implicit conversion on collate_finish
Clang issues:
programs/ld-collate.c:1824:55: error: implicit conversion from 'unsigned
long' to 'unsigned int' changes value from 18446744073709551615 to
4294967295 [-Werror,-Wconstant-conversion]
collate->undefined.used_in_level = need_undefined ? ~0ul : 0;
~ ^~~~
Diff:
---
locale/programs/ld-collate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 2c9f540bf1..e47baaa3ab 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1821,7 +1821,7 @@ symbol `%s' has the same encoding as"), (*eptr)->name);
/* Now determine whether the UNDEFINED entry is needed and if yes,
whether it was defined. */
- collate->undefined.used_in_level = need_undefined ? ~0ul : 0;
+ collate->undefined.used_in_level = need_undefined ? ~0u : 0;
if (collate->undefined.file == NULL)
{
if (need_undefined)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/clang] locale: Fix implicit conversion on collate_finish
@ 2022-10-28 17:40 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:40 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b05dbe2d21ff37e192ef7510309a09960d794af
commit 8b05dbe2d21ff37e192ef7510309a09960d794af
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 10 09:54:02 2022 -0300
locale: Fix implicit conversion on collate_finish
Clang issues:
programs/ld-collate.c:1824:55: error: implicit conversion from 'unsigned
long' to 'unsigned int' changes value from 18446744073709551615 to
4294967295 [-Werror,-Wconstant-conversion]
collate->undefined.used_in_level = need_undefined ? ~0ul : 0;
~ ^~~~
Diff:
---
locale/programs/ld-collate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index c790623cbc..87b20a2466 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1821,7 +1821,7 @@ symbol `%s' has the same encoding as"), (*eptr)->name);
/* Now determine whether the UNDEFINED entry is needed and if yes,
whether it was defined. */
- collate->undefined.used_in_level = need_undefined ? ~0ul : 0;
+ collate->undefined.used_in_level = need_undefined ? ~0u : 0;
if (collate->undefined.file == NULL)
{
if (need_undefined)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-09 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 12:58 [glibc/azanella/clang] locale: Fix implicit conversion on collate_finish Adhemerval Zanella
2022-10-28 17:40 Adhemerval Zanella
2023-02-09 19:47 Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).