Explorar o código

HPCC-24521 Fix hpcc-23483 regression

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith %!s(int64=5) %!d(string=hai) anos
pai
achega
81e4d97bd3
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      dali/base/dasds.cpp

+ 5 - 1
dali/base/dasds.cpp

@@ -1756,7 +1756,11 @@ void buildNotifyData(MemoryBuffer &notifyData, PDState state, CPTStack *stack, M
                 if (0 == pos) // common case
                     notifyData.append(3, "[1]");
                 else
-                    notifyData.append('[').append(pos+1).append(']');
+                {
+                    char temp[12];
+                    unsigned written = numtostr(temp, pos+1);
+                    notifyData.append('[').append(written, temp).append(']');
+                }
                 parent = &child;
                 s++;
                 if (s<n)