Commit cd93e7d4 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix for warning about sign bit.

parent 2c4f5a00
......@@ -109,7 +109,7 @@ enum {
intbits = sizeof(int) * CHAR_BIT,
nspbits = 4,
idxbits = intbits - nspbits,
nspmask = (( 1 << nspbits ) - 1) << idxbits,
nspmask = (int)((( (unsigned)1 << nspbits ) - 1) << idxbits),
idxmask = ( 1 << idxbits ) - 1,
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment