Commit graph

4 commits

Author SHA1 Message Date
Takashi Iwai
f6f9529714 Use unsigned int for better optimization
Use unsigned int in bitops for better optimization.
2005-11-09 12:23:02 +00:00
Takashi Iwai
6b46723473 Fix bit ops for 64bit long
Fix bit ops for 64bit long.
2005-11-08 17:13:30 +00:00
Takashi Iwai
125498519d Fix bitops to be 64bit clean
A patch from bug#1343:

On all 64bit systems (the easiest example is amd64) ld10k1 crashes on
use by lo10k1, some debugging tracked down the problem fairly quickly.

The bitops functions (set_bit and associated) that ld10k1 use come from
the linux kernel, and assume that longs are 32bit only, causing a buffer
overflow of the bit buffer.

The attached patch fixes the bitops to be independent of the size of
longs, and is confirmed to fix the bug on my box.

Zephaniah E. Hull.
2005-08-18 13:01:56 +00:00
Takashi Iwai
2df1aa7c20 Add ld10k1 tool
Added ld10k1 tool by Peter Zubaj.
2005-03-18 13:40:44 +00:00