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

@@ -96,7 +96,7 @@ RCODE FSReadRecord( // Was FSRecordGet
pStack->pKeyBuf = pKeyBuf;
// Search the B-TREE for the record
longToByte( uiDrn, pDrnBuf);
flmUINT32ToBigEndian( uiDrn, pDrnBuf);
if( RC_OK( rc = FSBtSearch( pDb, pLFile, &pStack, pDrnBuf, 4, 0)))
{
rc = RC_SET( FERR_NOT_FOUND);
@@ -154,7 +154,7 @@ RCODE FSReadElement(
#ifdef FLM_DBG_LOG
flmAssert( pStack->uiKeyLen == DIN_KEY_SIZ &&
(FLMUINT)byteToLong( pStack->pKeyBuf) == uiDrn);
flmBigEndianToUINT32( pStack->pKeyBuf) == uiDrn);
#endif
// Initialize variables