more bug fixes for the rest of the extensions

This commit is contained in:
Andrew Gallant (Ocelot)
2012-05-06 03:06:02 -04:00
parent 014a0598bf
commit ea30f1a0a7
10 changed files with 41 additions and 32 deletions

View File

@@ -11,7 +11,7 @@ type Size struct {
// newFixedSize creates a new Size with some fixed and known value.
func newFixedSize(fixed uint) Size {
return Size{&Value{v: fixed}}
return Size{&Value{v: int(fixed)}}
}
// newExpressionSize creates a new Size with some expression.