]> Git Repo - secp256k1.git/commit
Merge #607: Use size_t shifts when computing a size_t
authorGregory Maxwell <[email protected]>
Sun, 31 Mar 2019 09:36:08 +0000 (09:36 +0000)
committerGregory Maxwell <[email protected]>
Sun, 31 Mar 2019 09:37:33 +0000 (09:37 +0000)
commitb19c000063be11018b4d1a6b0a85871ab9d0bdcf
treee862ca412860538b4969e6f77c8c005695e5ed28
parent4d01bc2d9cae4cb9d12b021a59640e72f1ee1e68
parente6d01e9347255eb9ad78608bfa3d11cba7655156
Merge #607: Use size_t shifts when computing a size_t

e6d01e9 Use size_t shifts when computing a size_t (Pieter Wuille)

Pull request description:

  This was detected by compiling with MSVC; it triggers warning C4334.

  I don't think this is necessary, as we know the maximum shift is a very small integer, but this makes the code more obviously correct.

Tree-SHA512: 3c0cf412c75b4361d01e78bf13fe81c3f28b82abd40b0706285cc691124381cb1ff1f1c3512420250180b7612a471ce48357b282b1e34a08f5359e58af25e198
This page took 0.02493 seconds and 4 git commands to generate.