diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2016-10-11 21:01:06 +0200 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2016-10-13 15:38:53 +0200 |
| commit | 7686d19affbd3f592a64517679df85b9d49f4628 (patch) | |
| tree | 624a97c2ea4c7e0ff01b13caef53c293085d0583 /prog/encodingexec.go | |
| parent | b3f098b002f4b68f0e3d38717bc610da268d0d18 (diff) | |
Add big-endian ints
Diffstat (limited to 'prog/encodingexec.go')
| -rw-r--r-- | prog/encodingexec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/encodingexec.go b/prog/encodingexec.go index 6ba68b37e..239ef3514 100644 --- a/prog/encodingexec.go +++ b/prog/encodingexec.go @@ -148,7 +148,7 @@ func (w *execContext) writeArg(arg *Arg) { case ArgConst: w.write(ExecArgConst) w.write(arg.Size(arg.Type)) - w.write(arg.Val) + w.write(arg.Value(arg.Type)) case ArgResult: w.write(ExecArgResult) w.write(arg.Size(arg.Type)) |
