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

@@ -138,7 +138,7 @@ FIND_NXT:
/* Output the tag number. */
*pToKey = KY_CONTEXT_PREFIX;
intToByte( (FLMUINT16) pRecord->getFieldID( pvMatchField), &pToKey [1]);
flmUINT16ToBigEndian( (FLMUINT16) pRecord->getFieldID( pvMatchField), &pToKey [1]);
uiToKeyLen = KY_CONTEXT_LEN;
}
else
@@ -504,7 +504,7 @@ NumDone:
else
{
*pDest = 0x1F;
longToByte( FB2UD( pSrc), pDest + 1);
flmUINT32ToBigEndian( FB2UD( pSrc), pDest + 1);
uiDestLen = 5;
rc = FERR_OK;
}