Skip to content

Commit

Permalink
Fix building on 32-bit machines.
Browse files Browse the repository at this point in the history
  • Loading branch information
trhodeos committed Mar 24, 2018
1 parent 9e3e113 commit ab83ed9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

type Constant struct {
Symbol string ` @Ident`
Int int `| @Int`
Int uint64 `| @Int`
}

type FlagAst struct {
Expand Down Expand Up @@ -41,7 +41,7 @@ type MinSegment struct {
// Only one of these values will be set.
type Value struct {
String string ` @String`
Int int `| @Int`
Int uint64 `| @Int`
Flags []*FlagAst `| @@ { @@ }`
ConstantValue *Summand `| @@`
MaxSegment *MaxSegment `| @@`
Expand Down Expand Up @@ -92,12 +92,12 @@ type Positioning struct {
AfterSegment string
AfterMinSegment [2]string
AfterMaxSegment [2]string
Address int
Address uint64
}

type StackInfo struct {
Start string
Offset int
Offset uint64
}

type Segment struct {
Expand All @@ -106,8 +106,8 @@ type Segment struct {
StackInfo *StackInfo
Positioning Positioning
Entry *string
MaxSize int
Align int
MaxSize uint64
Align uint64
Flags Flags
}

Expand Down

0 comments on commit ab83ed9

Please sign in to comment.