Permalink
Browse files

Compile errors on some platforms

  • Loading branch information...
msantos committed Jul 30, 2012
1 parent 3904059 commit f3870b0fd5e47f3fa9f33facfbfe815d6416ccf8
Showing with 2 additions and 2 deletions.
  1. +2 −2 c_src/procket.c
View
@@ -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};

0 comments on commit f3870b0

Please sign in to comment.