mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjust types
This commit is contained in:
parent
403675e8dc
commit
af1863734c
1 changed files with 1 additions and 2 deletions
|
@ -285,9 +285,8 @@ VALUE string_spec_RSTRING_PTR_iterate(VALUE self, VALUE str) {
|
|||
}
|
||||
|
||||
VALUE string_spec_RSTRING_PTR_iterate_uint32(VALUE self, VALUE str) {
|
||||
int i;
|
||||
uint32_t* ptr;
|
||||
int l = RSTRING_LEN(str) / sizeof(uint32_t);
|
||||
long i, l = RSTRING_LEN(str) / sizeof(uint32_t);
|
||||
|
||||
ptr = (uint32_t *)RSTRING_PTR(str);
|
||||
for(i = 0; i < l; i++) {
|
||||
|
|
Loading…
Reference in a new issue