diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:07:50 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:07:50 +0000 |
| commit | 812357230aa938062814d16cd15a2f1054cdff80 (patch) | |
| tree | 0533ebd9984642547c1c9876466f09ed47d9ed9c /cont.c | |
| parent | c22efd725fd81aeae85ac417922ec7b611b0c54c (diff) | |
| download | ruby-812357230aa938062814d16cd15a2f1054cdff80.tar.gz ruby-812357230aa938062814d16cd15a2f1054cdff80.tar.xz ruby-812357230aa938062814d16cd15a2f1054cdff80.zip | |
* cont.c (cont_memsize): fixed wrong expression on IA64.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
| -rw-r--r-- | cont.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -148,8 +148,7 @@ cont_memsize(void *ptr) } #ifdef __ia64 if (cont->machine_register_stack) { - size += (cont->machine_register_stack + cont->machine_register_stack_size) * - sizeof(*cont->machine_register_stack); + size += cont->machine_register_stack_size * sizeof(*cont->machine_register_stack); } #endif } |
