summaryrefslogtreecommitdiffstats
path: root/source/slang/mangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/mangle.cpp')
-rw-r--r--source/slang/mangle.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/slang/mangle.cpp b/source/slang/mangle.cpp
index c35ad1e14..c2645929f 100644
--- a/source/slang/mangle.cpp
+++ b/source/slang/mangle.cpp
@@ -4,6 +4,8 @@
#include "ir-insts.h"
#include "syntax.h"
+#include "../core/slang-cpu-defines.h"
+
namespace Slang
{
struct ManglingContext
@@ -22,7 +24,7 @@ namespace Slang
ManglingContext* context,
UInt value)
{
- context->sb.append(value);
+ context->sb.append(UnambigousUInt(value));
}
void emit(