public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2022-10-28 17:47 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:47 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b48a95d063d9a7ec8dc0e20c0263a57e1d80a1a0

commit b48a95d063d9a7ec8dc0e20c0263a57e1d80a1a0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index 63dac90e02..776cc3521a 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2024-02-09 17:37 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d021dc382c818e7aac777c5bd3b4922b866a6870

commit d021dc382c818e7aac777c5bd3b4922b866a6870
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index 69f1c63be1..7675a45950 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2024-02-07 14:13 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:13 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=340aa23d6b068e0032a7d19b0d2a8021a5a80de9

commit 340aa23d6b068e0032a7d19b0d2a8021a5a80de9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index 69f1c63be1..7675a45950 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2024-01-29 18:03 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:03 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9c7de678ba67ecc7b7b20e6b733de7acd76a95d6

commit 9c7de678ba67ecc7b7b20e6b733de7acd76a95d6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index 69f1c63be1..7675a45950 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2023-12-21 18:59 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:59 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=21882f8e904411be9687d8c22406f817edd19928

commit 21882f8e904411be9687d8c22406f817edd19928
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index e708abf667..a5e65c99b6 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2023-09-28 17:57 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d91e6f0ef82cf4e5f30bef6c2a4ad0e6ef543368

commit d91e6f0ef82cf4e5f30bef6c2a4ad0e6ef543368
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index e708abf667..a5e65c99b6 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2023-08-30 12:42 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:42 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3673980558c82c00dc3c147f0ffcfb5481d1f8b1

commit 3673980558c82c00dc3c147f0ffcfb5481d1f8b1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index e708abf667..a5e65c99b6 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2023-02-09 19:54 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:54 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4380582ae67d3a9f377d91491485142b1145db4f

commit 4380582ae67d3a9f377d91491485142b1145db4f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index e708abf667..a5e65c99b6 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

* [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname
@ 2022-10-04 13:05 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:05 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fa2891a911cdb97b32ff761974a6105fddeb3cf2

commit fa2891a911cdb97b32ff761974a6105fddeb3cf2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Sep 1 08:08:59 2022 -0300

    resolve: Fix implicit conversion on tst-resolv-invalid-cname
    
      tst-resolv-invalid-cname.c:313:17: error: implicit conversion from 'int'
      to 'char' changes value from 192 to -64 [-Werror,-Wconstant-conversion]
            addr[0] = 192;
                    ~ ^~~
      tst-resolv-invalid-cname.c:314:17: error: implicit conversion from 'int'
      to 'char' changes value from 168 to -88 [-Werror,-Wconstant-conversion]
            addr[1] = 168;
                    ~ ^~~

Diff:
---
 resolv/tst-resolv-invalid-cname.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resolv/tst-resolv-invalid-cname.c b/resolv/tst-resolv-invalid-cname.c
index 63dac90e02..776cc3521a 100644
--- a/resolv/tst-resolv-invalid-cname.c
+++ b/resolv/tst-resolv-invalid-cname.c
@@ -310,8 +310,8 @@ check_reverse (int af, int bits, int count)
   socklen_t addrlen;
   if (af == AF_INET)
     {
-      addr[0] = 192;
-      addr[1] = 168;
+      addr[0] = 0xc0;
+      addr[1] = 0xa8;
       addr[2] = count;
       addr[3] = bits;
       addrlen = 4;

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

end of thread, other threads:[~2024-02-09 17:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 17:47 [glibc/azanella/clang] resolve: Fix implicit conversion on tst-resolv-invalid-cname Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:37 Adhemerval Zanella
2024-02-07 14:13 Adhemerval Zanella
2024-01-29 18:03 Adhemerval Zanella
2023-12-21 18:59 Adhemerval Zanella
2023-09-28 17:57 Adhemerval Zanella
2023-08-30 12:42 Adhemerval Zanella
2023-02-09 19:54 Adhemerval Zanella
2022-10-04 13:05 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).