diff --git a/modules/img/base/src/image_state/image_state_visitor.hh b/modules/img/base/src/image_state/image_state_visitor.hh
index d1808be7bf9d4cec4871ba9247d9d5ede941dc94..e5ef1585a4a2facfbdb114d3a685fabdf90e96fe 100644
--- a/modules/img/base/src/image_state/image_state_visitor.hh
+++ b/modules/img/base/src/image_state/image_state_visitor.hh
@@ -197,8 +197,8 @@ public:
          const P6& p6,                           \
          const P7& p7,                           \
          const P8& p8,                           \
-         const P8& p9,                           \
-         const P9& pa):                          \
+         const P9& p9,                           \
+         const PA& pa):                          \
     FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,pa) {}     \
   /* 12 params */                                \
   template <class P0,                            \