summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket/ntapi_sc_socket_v1.c4
-rw-r--r--src/socket/ntapi_sc_socket_v2.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/socket/ntapi_sc_socket_v1.c b/src/socket/ntapi_sc_socket_v1.c
index bfdfc83..c9b4519 100644
--- a/src/socket/ntapi_sc_socket_v1.c
+++ b/src/socket/ntapi_sc_socket_v1.c
@@ -26,8 +26,8 @@ typedef struct _nt_afd_socket_ea {
int32_t __cdecl __ntapi_sc_socket_v1(
__out nt_socket * hssocket,
- __in uint16_t domain,
- __in uint16_t type,
+ __in int32_t domain,
+ __in int32_t type,
__in uint32_t protocol,
__in uint32_t desired_access __optional,
__in nt_sqos * sqos __optional,
diff --git a/src/socket/ntapi_sc_socket_v2.c b/src/socket/ntapi_sc_socket_v2.c
index 0f114fe..2fc30e5 100644
--- a/src/socket/ntapi_sc_socket_v2.c
+++ b/src/socket/ntapi_sc_socket_v2.c
@@ -31,8 +31,8 @@ typedef struct _nt_afd_socket_ea {
int32_t __cdecl __ntapi_sc_socket_v2(
__out nt_socket * hssocket,
- __in uint16_t domain,
- __in uint16_t type,
+ __in int32_t domain,
+ __in int32_t type,
__in uint32_t protocol,
__in uint32_t desired_access __optional,
__in nt_sqos * sqos __optional,