Permalink
Browse files

fd_server: correct minor type mismatches

  • Loading branch information...
1 parent 7595941 commit d823a0343af0b53ca16e6ad2acf679681fbbd804 @gebi committed Nov 30, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/fd_server/c_src/fdlib.c
  2. +1 −1 lib/fd_server/c_src/fdsrv.c
@@ -110,7 +110,7 @@ int fd_listen_path(ErlDrvPort port, char* path)
int fd_accept_path(ErlDrvPort port, int s, char* path)
{
int c;
- int len = 0;
+ unsigned len = 0;
/* Need to make this non blocking .. */
@@ -46,7 +46,7 @@ extern int errno;
*/
static void report_error(msg)
- char *msg;
+ const char *msg;
{
unsigned char c;

0 comments on commit d823a03

Please sign in to comment.