summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
diff options
context:
space:
mode:
authorHASUMI Hitoshi <[email protected]>2021-01-25 22:11:54 +0900
committerHASUMI Hitoshi <[email protected]>2021-01-25 22:11:54 +0900
commitda65d35d7af90711a9f7d807400c7be81c09cec4 (patch)
treef010c700f169f4f2b9833ad1b66d1fdae558e489 /src/dump.c
parent0903e2a72e8f3aa848fdbb60f1ceece7af3d1cb4 (diff)
downloadmruby-da65d35d7af90711a9f7d807400c7be81c09cec4.tar.gz
mruby-da65d35d7af90711a9f7d807400c7be81c09cec4.zip
fix TYPO in RITE BINARY HEADER
Diffstat (limited to 'src/dump.c')
-rw-r--r--src/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump.c b/src/dump.c
index 76508a27e..d18ffebdc 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -750,7 +750,7 @@ write_rite_binary_header(mrb_state *mrb, size_t binary_size, uint8_t *bin, uint8
memcpy(header->binary_ident, RITE_BINARY_IDENT, sizeof(header->binary_ident));
memcpy(header->major_version, RITE_BINARY_MAJOR_VER, sizeof(header->major_version));
- memcpy(header->minor_version, RITE_BINARY_MAJOR_VER, sizeof(header->minor_version));
+ memcpy(header->minor_version, RITE_BINARY_MINOR_VER, sizeof(header->minor_version));
memcpy(header->compiler_name, RITE_COMPILER_NAME, sizeof(header->compiler_name));
memcpy(header->compiler_version, RITE_COMPILER_VERSION, sizeof(header->compiler_version));
mrb_assert(binary_size <= UINT32_MAX);