Wireshark-commits: [Wireshark-commits] master e4787a9: Don't use floating point to calculate 4^N, f
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 20 Feb 2018 02:43:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e4787a9190c82dadae7e57c0847e2529bb2a9bbf
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e4787a9 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't use floating point to calculate 4^N, for integer N.
    
    You don't need floating-point, you can just calculate 1<<2N.
    
    Change-Id: Iec9ebf02bba3e8bcce344be7f0366f7f258da403
    Reviewed-on: https://code.wireshark.org/review/25912
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5c0cf42   packet-thread: fix cast-align warning
    adds  e4787a9   Don't use floating point to calculate 4^N, for integer N.


Summary of changes:
 epan/dissectors/packet-icmpv6.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)