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
76098d5e
Commit
76098d5e
authored
Mar 25, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1945 from cubicdaiya/issues/suitable_type3
Use mrb_int instead of int
parents
b042b951
bf3f45fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mrbgems/mruby-print/src/print.c
mrbgems/mruby-print/src/print.c
+1
-1
mrbgems/mruby-sprintf/src/sprintf.c
mrbgems/mruby-sprintf/src/sprintf.c
+1
-1
mrbgems/mruby-struct/src/struct.c
mrbgems/mruby-struct/src/struct.c
+1
-1
No files found.
mrbgems/mruby-print/src/print.c
View file @
76098d5e
...
...
@@ -6,7 +6,7 @@ static void
printstr
(
mrb_state
*
mrb
,
mrb_value
obj
)
{
char
*
s
;
int
len
;
mrb_
int
len
;
if
(
mrb_string_p
(
obj
))
{
s
=
RSTRING_PTR
(
obj
);
...
...
mrbgems/mruby-sprintf/src/sprintf.c
View file @
76098d5e
...
...
@@ -713,7 +713,7 @@ retry:
str
=
mrb_obj_as_string
(
mrb
,
arg
);
len
=
RSTRING_LEN
(
str
);
if
(
RSTRING
(
result
)
->
flags
&
MRB_STR_EMBED
)
{
int
tmp_n
=
len
;
mrb_
int
tmp_n
=
len
;
RSTRING
(
result
)
->
flags
&=
~
MRB_STR_EMBED_LEN_MASK
;
RSTRING
(
result
)
->
flags
|=
tmp_n
<<
MRB_STR_EMBED_LEN_SHIFT
;
}
else
{
...
...
mrbgems/mruby-struct/src/struct.c
View file @
76098d5e
...
...
@@ -506,7 +506,7 @@ mrb_value
mrb_struct_init_copy
(
mrb_state
*
mrb
,
mrb_value
copy
)
{
mrb_value
s
;
int
i
,
len
;
mrb_
int
i
,
len
;
mrb_get_args
(
mrb
,
"o"
,
&
s
);
...
...
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