Update for x64

This commit is contained in:
JsBergbau 2021-06-05 20:36:11 +02:00 committed by GitHub
parent 0e46876a79
commit e1ef056cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}