Update dependencies (#5518)
This commit is contained in:
2
vendor/github.com/open-policy-agent/opa/internal/wasm/encoding/writer.go
generated
vendored
2
vendor/github.com/open-policy-agent/opa/internal/wasm/encoding/writer.go
generated
vendored
@@ -229,7 +229,7 @@ func writeFunctionSection(w io.Writer, s module.FunctionSection) error {
|
||||
}
|
||||
|
||||
for _, idx := range s.TypeIndices {
|
||||
if err := leb128.WriteVarUint32(&buf, uint32(idx)); err != nil {
|
||||
if err := leb128.WriteVarUint32(&buf, idx); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user