mirror of
https://github.com/jackc/pgx.git
synced 2025-05-30 19:22:19 +00:00
Fix InetCodec.DecodeValue
This commit is contained in:
parent
a059d1099f
commit
224393188d
@ -134,7 +134,7 @@ func (c InetCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (an
|
||||
}
|
||||
|
||||
var prefix netip.Prefix
|
||||
err := codecScan(c, m, oid, format, src, &prefix)
|
||||
err := codecScan(c, m, oid, format, src, (*netipPrefixWrapper)(&prefix))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user