7794 ficl: use ULONG_MAX instead of -1 in lshift operation

Review Request #332 — Created Jan. 21, 2017 and submitted

tsoome
illumos-gate
7794
73b89fe...
general

7794 ficl: use ULONG_MAX instead of -1 in lshift operation

gcc 6 is ok, the 32 and 64bit ficl are getting properly 0xffffffff and 0xffffffffffffffff, the previous code was actually buggy in 64bit case.

igork
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
andy_js
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...