Changes to use new endian inlines from FTK.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@460 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-05-25 15:26:08 +00:00
parent abc5c5650e
commit 96edbc5f55
7 changed files with 19 additions and 27 deletions

View File

@@ -231,8 +231,8 @@ class F_NodeResultSetCompare : public IF_ResultSetCompare
}
else
{
uiCollection1 = f_byteToUINT32( &pucData1[ 1]);
uiCollection2 = f_byteToUINT32( &pucData2[ 1]);
uiCollection1 = f_bigEndianToUINT32( &pucData1[ 1]);
uiCollection2 = f_bigEndianToUINT32( &pucData2[ 1]);
if( uiCollection1 < uiCollection2)
{
@@ -244,8 +244,8 @@ class F_NodeResultSetCompare : public IF_ResultSetCompare
}
else
{
ui64NodeId1 = f_byteToUINT64( &pucData1[ 5]);
ui64NodeId2 = f_byteToUINT64( &pucData2[ 5]);
ui64NodeId1 = f_bigEndianToUINT64( &pucData1[ 5]);
ui64NodeId2 = f_bigEndianToUINT64( &pucData2[ 5]);
if( ui64NodeId1 < ui64NodeId2)
{