added a comment, removed debug output
diff --git a/src/packages/xdc/services/intern/gen/Config.java b/src/packages/xdc/services/intern/gen/Config.java
index 4cd3bd8..e35d889 100644
--- a/src/packages/xdc/services/intern/gen/Config.java
+++ b/src/packages/xdc/services/intern/gen/Config.java
@@ -3684,9 +3684,10 @@
/* If we are casting constant to some of the unsigned integral
* types, and it is a constant and not an expression, we add U
* to satisfy MISRA requirements.
+ * The content of cast is (xdc_<type>), that's why we start match
+ * at the index 5.
*/
if (value.indexOf("(") == -1) {
- System.out.println("cast: " + cast);
if (cast.regionMatches(5, "UInt", 0, 4) ||
cast.regionMatches(5, "Bits", 0, 4)) {
suffix = "U";