Skip to content

Commit 30edc9c

Browse files
committed
Correction of the type in sockopt_impl macro
1 parent 397f44b commit 30edc9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/socket/sockopt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ macro_rules! sockopt_impl {
154154
sockopt_impl!(Both, $name, $level, $flag, usize, GetUsize, SetUsize);
155155
};
156156

157-
(Both, $name:ident, $level:path, $flag:path, usize) => {
157+
(Both, $name:ident, $level:path, $flag:path, CString) => {
158158
sockopt_impl!(Both, $name, $level, $flag, CString, GetCString, SetCString);
159159
};
160160

0 commit comments

Comments
 (0)