From 5cbb9b56c5e1ea386501764055085e618b209b4c Mon Sep 17 00:00:00 2001
From: Jonathan Schleifer <js@webkeks.org>
Date: Fri, 10 Jan 2014 21:06:46 +0100
Subject: [PATCH 07/10] Fix sizeof on private, non static variable.
---
src/kits/tracker/ViewState.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kits/tracker/ViewState.cpp b/src/kits/tracker/ViewState.cpp
index 831ccf4..5420c1d 100644
a
|
b
|
BColumn::BColumn(BMallocIO* stream, int32 version, bool endianSwap)
|
119 | 119 | PRINT(("endian swapping column\n")); |
120 | 120 | fOffset = B_SWAP_FLOAT(fOffset); |
121 | 121 | fWidth = B_SWAP_FLOAT(fWidth); |
122 | | STATIC_ASSERT(sizeof(BColumn::fAlignment) == sizeof(int32)); |
| 122 | STATIC_ASSERT(sizeof(alignment) == sizeof(int32)); |
123 | 123 | fAlignment = (alignment)B_SWAP_INT32(fAlignment); |
124 | 124 | fAttrHash = B_SWAP_INT32(fAttrHash); |
125 | 125 | fAttrType = B_SWAP_INT32(fAttrType); |