diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-13 15:15:20 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-13 15:15:20 +0000 |
commit | acae6be1f32a6bf45b1a288fd7cc5a9d4c047132 (patch) | |
tree | 4434ba531d352238b73705acbd0b6a286a894443 /pp.c | |
parent | b8d3c5dbe700bcf673400eeed81122fc068142b4 (diff) | |
download | perl-acae6be1f32a6bf45b1a288fd7cc5a9d4c047132.tar.gz |
Slight tweak of the code to appease Amdahl UTS cc.
p4raw-id: //depot/perl@7218
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4812,8 +4812,9 @@ PP(pp_pack) do { double next = floor(adouble / 128); *--in = (unsigned char)(adouble - (next * 128)) | 0x80; - if (--in < buf) /* this cannot happen ;-) */ + if (in <= buf) /* this cannot happen ;-) */ DIE(aTHX_ "Cannot compress integer"); + in--; adouble = next; } while (adouble > 0); buf[sizeof(buf) - 1] &= 0x7f; /* clear continue bit */ |