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

@@ -52,7 +52,7 @@ RCODE FSRecUpdate(
FSInitStackCache( &stackBuf [0], BH_MAX_LEVELS);
pStack->pKeyBuf = pKeyBuf;
longToByte( uiDrn, updCur.pKeyBuf);
flmUINT32ToBigEndian( uiDrn, updCur.pKeyBuf);
// Position to the element in the b-tree.
@@ -119,7 +119,7 @@ RCODE FSRecUpdate(
pElmBuf = updCur.pElmBuf;
pElmBuf[ BBE_PKC] = BBE_FIRST_FLAG;
pElmBuf[ BBE_KL] = DIN_KEY_SIZ;
longToByte( uiDrn, &pElmBuf[ BBE_KEY]);
flmUINT32ToBigEndian( uiDrn, &pElmBuf[ BBE_KEY]);
// BBE_RL is set in the flush routine