mirror of
https://github.com/JsBergbau/BindToInterface.git
synced 2025-09-08 19:48:35 -04:00
Update for x64
This commit is contained in:
parent
0e46876a79
commit
e1ef056cc0
@ -8,6 +8,7 @@
|
||||
#include <errno.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
//#define DEBUG
|
||||
|
||||
@ -125,6 +126,6 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
|
||||
}
|
||||
}
|
||||
|
||||
int ret = (int)original_connect(sockfd, addr, addrlen);
|
||||
return ret;
|
||||
return (uintptr_t)original_connect(sockfd, addr, addrlen);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user