File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ instance ControlMessage IPv4PktInfo where
152
152
153
153
instance Storable IPv4PktInfo where
154
154
sizeOf _ = (# size struct in_pktinfo)
155
- alignment = undefined
155
+ alignment _ = alignment ( undefined :: CInt )
156
156
poke p (IPv4PktInfo n ha) = do
157
157
(# poke struct in_pktinfo, ipi_ifindex) p (fromIntegral n :: CInt )
158
158
(# poke struct in_pktinfo, ipi_spec_dst) p (0 :: CInt )
@@ -175,7 +175,7 @@ instance ControlMessage IPv6PktInfo where
175
175
176
176
instance Storable IPv6PktInfo where
177
177
sizeOf _ = (# size struct in6_pktinfo)
178
- alignment = undefined
178
+ alignment _ = alignment ( undefined :: CInt )
179
179
poke p (IPv6PktInfo n ha6) = do
180
180
(# poke struct in6_pktinfo, ipi6_ifindex) p (fromIntegral n :: CInt )
181
181
(# poke struct in6_pktinfo, ipi6_addr) p (In6Addr ha6)
You can’t perform that action at this time.
0 commit comments