* mpicoder.c (mpi_set_buffer): Cast all left operands of a shift
authorWerner Koch <wk@gnupg.org>
Tue, 10 Sep 2002 08:28:03 +0000 (08:28 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 10 Sep 2002 08:28:03 +0000 (08:28 +0000)
commitd6a87e6b2898704d8131288f10083c37d5ec2fb4
treeabc7e27b62084fbcb2630a336de3ba268160207d
parent075f8622776ff04e726e9eb5cef19eb86a92bde1
* mpicoder.c (mpi_set_buffer): Cast all left operands of a shift
to a larger type so that 16 bit CPUs don't suffer from an
overflow.  Suggested by TOGAWA Satoshi.
mpi/ChangeLog
mpi/mpicoder.c