Skip to content

Commit

Permalink
Update verstable.h
Browse files Browse the repository at this point in the history
Fixed bug in the non-intrinsic fallback for vt_first_nonzero_uint16.
  • Loading branch information
JacksonAllan committed Feb 6, 2024
1 parent a1e0c7b commit e6cbf46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verstable.h
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ static inline int vt_first_nonzero_uint16( uint64_t val )
if( !half )
result += 2;

uint32_t quarter;
uint16_t quarter;
memcpy( &quarter, (char *)&val + result * 2, sizeof( uint16_t ) );
if( !quarter )
result += 1;
Expand Down

0 comments on commit e6cbf46

Please sign in to comment.