Renamed big-endian byte-swap macros to make their purpose clear.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@207 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-03-23 22:39:50 +00:00
parent a72914ec65
commit 436f3115aa
24 changed files with 1830 additions and 1819 deletions

View File

@@ -1051,7 +1051,7 @@ ExitCS:
// Position to the first record in the B-Tree.
longToByte( (FLMUINT)0, ucDrnBuf);
flmUINT32ToBigEndian( 0, ucDrnBuf);
if (RC_BAD( rc = FSBtSearch( pDb, pLFile, &pStack,
ucDrnBuf, 4, ZERO_DOMAIN)))
{
@@ -1062,7 +1062,7 @@ ExitCS:
while (pStack->uiCmpStatus != BT_END_OF_DATA)
{
if ((uiDrn = byteToLong( ucKeyBuf)) == DRN_LAST_MARKER)
if ((uiDrn = flmBigEndianToUINT32( ucKeyBuf)) == DRN_LAST_MARKER)
{
break;
}