Fix sizeof on private, non static variable.

This commit is contained in:
Jonathan Schleifer 2014-01-10 21:06:46 +01:00 committed by Stephan Aßmus
parent 38fee4c388
commit 72b14059a9

View File

@ -119,7 +119,7 @@ BColumn::BColumn(BMallocIO* stream, int32 version, bool endianSwap)
PRINT(("endian swapping column\n"));
fOffset = B_SWAP_FLOAT(fOffset);
fWidth = B_SWAP_FLOAT(fWidth);
STATIC_ASSERT(sizeof(BColumn::fAlignment) == sizeof(int32));
STATIC_ASSERT(sizeof(alignment) == sizeof(int32));
fAlignment = (alignment)B_SWAP_INT32(fAlignment);
fAttrHash = B_SWAP_INT32(fAttrHash);
fAttrType = B_SWAP_INT32(fAttrType);