summaryrefslogtreecommitdiffstats
path: root/source/core/slang-performance-profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-performance-profiler.cpp')
-rw-r--r--source/core/slang-performance-profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-performance-profiler.cpp b/source/core/slang-performance-profiler.cpp
index f8e934491..faf06bb92 100644
--- a/source/core/slang-performance-profiler.cpp
+++ b/source/core/slang-performance-profiler.cpp
@@ -65,7 +65,7 @@ namespace Slang
if (strSize > 0)
{
- strncpy_s(profileEntry.funcName, strSize, func.key, strSize);
+ memcpy(profileEntry.funcName, func.key, strSize);
}
profileEntry.invocationCount = func.value.invocationCount;
profileEntry.duration = func.value.duration;