aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2022-07-06 10:53:35 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2022-07-06 10:53:35 +0200
commit0098b32c6c36e304b577bbe09eff2d645035fadb (patch)
treeeaa7c90f55c17408b000c3fe6668af21fcc4d971 /kernel
parent0cd20693c2a6dbbe74c45ddb6c8851a25c50e0df (diff)
downloadyosys-0098b32c6c36e304b577bbe09eff2d645035fadb.tar.gz
yosys-0098b32c6c36e304b577bbe09eff2d645035fadb.tar.bz2
yosys-0098b32c6c36e304b577bbe09eff2d645035fadb.zip
using more portable formatting
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtlil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 7a0b6b9c7..ee918441e 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -168,7 +168,7 @@ namespace RTLIL
log_assert(p[1] != 0);
for (const char *c = p; *c; c++)
if ((unsigned)*c <= (unsigned)' ')
- log_error("Found control character or space (0x%02hhx) in string '%s' which is not allowed in RTLIL identifiers\n", *c, p);
+ log_error("Found control character or space (0x%02x) in string '%s' which is not allowed in RTLIL identifiers\n", *c, p);
#ifndef YOSYS_NO_IDS_REFCNT
if (global_free_idx_list_.empty()) {