--- /Metaphone.java	2023-07-05 02:29:28.182153459 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Metaphone.java	2023-07-05 02:29:28.182153459 +0200
@@ -131,7 +131,7 @@
         } // now local has working string with initials fixed
 
         int wdsz = local.length();
-        int n = 0 ;
+short  n = 0 ;
 
         while ((code.length() < this.getMaxCodeLen()) && 
         	   (n < wdsz) ) { // max code size of 4 works well
