summaryrefslogtreecommitdiff
path: root/xgbgen/size.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-06 03:06:02 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-06 03:06:02 -0400
commitb081fc803a2b33daa0a9f5281c7a84e70df95068 (patch)
treeae80dd2f6bbd6a57074baa0929334b3b15f0acb4 /xgbgen/size.go
parent864eb4f165c20b07fd6ef2a2993aaa39a9714a1a (diff)
more bug fixes for the rest of the extensions
Diffstat (limited to 'xgbgen/size.go')
-rw-r--r--xgbgen/size.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgbgen/size.go b/xgbgen/size.go
index d8d3ac3..8836892 100644
--- a/xgbgen/size.go
+++ b/xgbgen/size.go
@@ -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.