Use u32 for generation numbers.

This commit is contained in:
Ms2ger 2015-03-28 22:46:16 +01:00
parent d521cd006e
commit 9904216d76
3 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ pub struct SharedLayoutContext {
/// Starts at zero, and increased by one every time a layout completes.
/// This can be used to easily check for invalid stale data.
pub generation: uint,
pub generation: u32,
}
pub struct SharedLayoutContextWrapper(pub *const SharedLayoutContext);