From 3cf60d82bbf7d9ec53d597a7d66314c8a83b071a Mon Sep 17 00:00:00 2001 From: Luhrel Date: Sun, 15 Mar 2020 14:20:08 +0100 Subject: [PATCH] Fix printf format in GC config --- src/core/gc/config.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gc/config.d b/src/core/gc/config.d index cf6ec189a4..f6328b5dda 100644 --- a/src/core/gc/config.d +++ b/src/core/gc/config.d @@ -38,8 +38,8 @@ struct Config import core.gc.registry : registeredGCFactories; printf("GC options are specified as white space separated assignments: - disable:0|1 - start disabled (%d) - profile:0|1|2 - enable profiling with summary when terminating program (%d) + disable:0|1 - start disabled (%hhu) + profile:0|1|2 - enable profiling with summary when terminating program (%hhu) gc:".ptr, disable, profile); foreach (i, entry; registeredGCFactories) {