Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Compile errors on some platforms

  • Loading branch information...
commit f3870b0fd5e47f3fa9f33facfbfe815d6416ccf8 1 parent 3904059
@msantos authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 c_src/procket.c
View
4 c_src/procket.c
@@ -185,7 +185,7 @@ nif_accept(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
{
int l = -1;
int s = -1;
- ulong salen = 0;
+ unsigned long salen = 0;
ErlNifBinary sa = {0};
int flags = 0;
@@ -244,7 +244,7 @@ nif_recvfrom(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
{
int sockfd = -1;
unsigned long len = 0;
- ulong salen = 0;
+ unsigned long salen = 0;
int flags = 0;
ErlNifBinary buf = {0};
Please sign in to comment.
Something went wrong with that request. Please try again.