Avoid signed overflow in random.c.
authorMark H Weaver <mhw@netris.org>
Wed, 12 Mar 2014 00:15:27 +0000 (20:15 -0400)
committerMark H Weaver <mhw@netris.org>
Wed, 12 Mar 2014 01:39:08 +0000 (21:39 -0400)
commit5fbf0e0f99431f54da032bda47d8125f9d34b4b1
treef8ad5687837a5574b7619d0f071e0d39a03824c8
parent19c0bd22a8f5e7cd76cf1435504c8eca342285ff
Avoid signed overflow in random.c.

* libguile/random.c (scm_i_mask32): Avoid signed overflow from shifting
  an unsigned char (promoted to signed int) 24 bits to the left.
libguile/random.c