summaryrefslogtreecommitdiff
path: root/flang-rt/lib/runtime/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang-rt/lib/runtime/command.cpp')
-rw-r--r--flang-rt/lib/runtime/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/flang-rt/lib/runtime/command.cpp b/flang-rt/lib/runtime/command.cpp
index a4e8e31ad027..6b5d7722d9eb 100644
--- a/flang-rt/lib/runtime/command.cpp
+++ b/flang-rt/lib/runtime/command.cpp
@@ -58,7 +58,7 @@ static std::int64_t StringLength(const char *string) {
static void FillWithSpaces(const Descriptor &value, std::size_t offset = 0) {
if (offset < value.ElementBytes()) {
- std::memset(
+ runtime::memset(
value.OffsetElement(offset), ' ', value.ElementBytes() - offset);
}
}