- Notifications
You must be signed in to change notification settings - Fork5
Commit6816577
committed
Change the PageGetContents() macro to guarantee its result is maxalign'd,
thereby forestalling any problems with alignment of the data structure placedthere. Since SizeOfPageHeaderData is maxalign'd anyway in 8.3 and HEAD, thisdoes not actually change anything right now, but it is foreseeable that theheader size will change again someday. I had to fix a couple of places thatwere assuming that the content offset is just SizeOfPageHeaderData rather thanMAXALIGN(SizeOfPageHeaderData). Per discussion of Zdenek's page-macros patch.1 parent9d035f4 commit6816577
3 files changed
+21
-18
lines changedLines changed: 4 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 |
| - | |
264 | 263 |
| |
265 | 264 |
| |
266 | 265 |
| |
| |||
271 | 270 |
| |
272 | 271 |
| |
273 | 272 |
| |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 | 273 |
| |
280 | 274 |
| |
281 | 275 |
| |
282 | 276 |
| |
| 277 | + | |
| 278 | + | |
| 279 | + | |
283 | 280 |
| |
284 | 281 |
| |
285 | 282 |
| |
|
Lines changed: 11 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
124 | 125 |
| |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
129 | 131 |
| |
130 | 132 |
| |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
135 | 137 |
| |
136 | 138 |
| |
137 | 139 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
209 | 213 |
| |
210 | 214 |
| |
211 |
| - | |
| 215 | + | |
212 | 216 |
| |
213 | 217 |
| |
214 | 218 |
| |
|
0 commit comments
Comments
(0)