Use u32 for TableColumnFragmentInfo::span.

This commit is contained in:
Ms2ger 2015-04-02 14:46:19 +02:00
parent 6d7dead4ef
commit 3dd3ad728e
2 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ impl Flow for TableColGroupFlow {
for fragment in self.cols.iter() {
// Retrieve the specified value from the appropriate CSS property.
let inline_size = fragment.style().content_inline_size();
let span: int = match fragment.specific {
let span = match fragment.specific {
SpecificFragmentInfo::TableColumn(col_fragment) => max(col_fragment.span, 1),
_ => panic!("non-table-column fragment inside table column?!"),
};