asapi_07: fix data types
PATCH 1/1 asapi_07: fix data types
The test always fails because some data types are wrong.
Signed-off-by Simon Xu <[email protected]>
--- testcases/network/lib6/asapi_07.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
testcases/network/lib6/asapi_07.c +3 -3
@@ -104,19 +104,19 @@ struct etent { "sizeof(struct iovec *)"}}, {"msghdr msg_iovlen" ,EXISTS ,SOCKET_H ,"msghdr" , "msg_iovlen", NULL, { - "sizeof(struct iovec *)"}}, { + "sizeof(size_t)"}}, {"msghdr msg_control" ,EXISTS ,SOCKET_H ,"msghdr" , "msg_control", NULL, { "sizeof(void *)"}}, {"msghdr msg_controllen" ,EXISTS ,SOCKET_H ,"msghdr" , "msg_controllen", NULL, { - "sizeof(socklen_t)"}}, { + "sizeof(size_t)"}}, {"msghdr msg_flags" ,EXISTS ,SOCKET_H ,"msghdr" , "msg_flags", NULL, { "sizeof(int)"}}, {"cmsghdr cmsg_len" ,EXISTS ,SOCKET_H ,"cmsghdr" , "cmsg_len", NULL, { - "sizeof(socklen_t)"}}, { + "sizeof(size_t)"}}, {"cmsghdr cmsg_level" ,EXISTS ,SOCKET_H ,"cmsghdr" , "cmsg_level", NULL, { "sizeof(int)"}}, {
Signature · 12 lines
1.8.4.2 ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Wanlong Gao
AppliedQuoted 6 lines · Simon Xu
The test always fails because some data types are wrong.
Signed-off-by Simon Xu <[email protected]>--- testcases/network/lib6/asapi_07.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thank you.
Wanlong Gao
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base. Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list