Added (FLMBYTE) cast to remove warning on Netware compiles.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@934 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2006-09-29 14:53:30 +00:00
parent a5a9ae3690
commit 6ccf224390

View File

@@ -5347,21 +5347,21 @@
FLMBYTE * pucBuffer,
FLMUINT uiBit)
{
pucBuffer[ uiBit >> 3] |= (0x01 << (uiBit & 0x07));
pucBuffer[ uiBit >> 3] |= (FLMBYTE)(0x01 << (uiBit & 0x07));
}
FINLINE void f_clearBit(
FLMBYTE * pucBuffer,
FLMUINT uiBit)
{
pucBuffer[ uiBit >> 3] &= ~(0x01 << (uiBit & 0x07));
pucBuffer[ uiBit >> 3] &= ~((FLMBYTE)(0x01 << (uiBit & 0x07)));
}
FINLINE FLMBOOL f_isBitSet(
FLMBYTE * pucBuffer,
FLMUINT uiBit)
{
return( (pucBuffer[ uiBit >> 3] & (0x01 << (uiBit & 0x07)))
return( (pucBuffer[ uiBit >> 3] & (FLMBYTE)(0x01 << (uiBit & 0x07)))
? TRUE
: FALSE);
}