Skip to content

Commit e9d4575

Browse files
authored
Merge pull request #4624 from rjmansfield/master
Fix build error when SWIFT_DEBUG_RUNTIME is defined.
2 parents fe7f3c6 + 75084a7 commit e9d4575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/runtime/MetadataCache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ template <class ValueTy> class MetadataCache {
279279

280280
#if SWIFT_DEBUG_RUNTIME
281281
printf("%s(%p): looking for entry with %zu arguments:\n",
282-
Entry::getName(), this, numArguments);
282+
ValueTy::getName(), this, numArguments);
283283
for (size_t i = 0; i < numArguments; i++) {
284284
printf("%s(%p): %p\n", ValueTy::getName(), this, arguments[i]);
285285
}
@@ -288,7 +288,7 @@ template <class ValueTy> class MetadataCache {
288288
Key key(KeyDataRef::forArguments(arguments, numArguments));
289289

290290
#if SWIFT_DEBUG_RUNTIME
291-
printf("%s(%p): generated hash %llx\n",
291+
printf("%s(%p): generated hash %zu\n",
292292
ValueTy::getName(), this, key.Hash);
293293
#endif
294294

0 commit comments

Comments
 (0)