fix line endings
parent
7abb0c99be
commit
f848271c28
|
|
@ -1039,35 +1039,35 @@ S32 LLPrimitive::packTEField(U8 *cur_ptr, U8 *data_ptr, U8 data_size, U8 last_fa
|
|||
}
|
||||
}
|
||||
|
||||
//assign exception faces to cur_ptr
|
||||
if (exception_faces >= ((U64)0x1 << 7))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 14))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 21))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 28))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 35))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 42))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 49))
|
||||
{
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 49) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 42) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 35) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 28) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 21) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 14) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 7) & 0x7F) | 0x80);
|
||||
}
|
||||
//assign exception faces to cur_ptr
|
||||
if (exception_faces >= ((U64)0x1 << 7))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 14))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 21))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 28))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 35))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 42))
|
||||
{
|
||||
if (exception_faces >= ((U64)0x1 << 49))
|
||||
{
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 49) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 42) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 35) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 28) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 21) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 14) & 0x7F) | 0x80);
|
||||
}
|
||||
*cur_ptr++ = (U8)(((exception_faces >> 7) & 0x7F) | 0x80);
|
||||
}
|
||||
|
||||
|
||||
*cur_ptr++ = (U8)(exception_faces & 0x7F);
|
||||
|
|
|
|||
Loading…
Reference in New Issue