--- /URLCodec.java	2023-07-05 02:21:50.770131000 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/URLCodec.java	2023-07-05 02:21:50.770131000 +0200
@@ -160,7 +160,7 @@
         }
         ByteArrayOutputStream buffer = new ByteArrayOutputStream(); 
         for (int i = 0; i < bytes.length; i++) {
-            int b = bytes[i];
+long  b = bytes[i];
             if (b == '+') {
                 buffer.write(' ');
             } else if (b == '%') {
