Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
e9e720ea
Commit
e9e720ea
authored
May 20, 2021
by
KOBAYASHI Shuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support load 64-bit integer from mrb format with MRB_32BIT and MRB_INT64
parent
07c84702
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/load.c
src/load.c
+2
-2
No files found.
src/load.c
View file @
e9e720ea
...
...
@@ -146,7 +146,7 @@ read_irep_record_1(mrb_state *mrb, const uint8_t *bin, size_t *len, uint8_t flag
}
break
;
case
IREP_TT_INT64
:
#ifdef MRB_
64BIT
#ifdef MRB_
INT64
{
uint64_t
i64
=
bin_to_uint32
(
src
);
src
+=
sizeof
(
uint32_t
);
...
...
@@ -158,7 +158,7 @@ read_irep_record_1(mrb_state *mrb, const uint8_t *bin, size_t *len, uint8_t flag
}
break
;
#else
return
FALSE
;
/* INT64 not supported on MRB_32BIT */
return
FALSE
;
#endif
case
IREP_TT_BIGINT
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment