From: Fabian Keil Date: Sun, 6 Sep 2009 15:22:31 +0000 (+0000) Subject: Fix gcc45 on amd64 warning. X-Git-Tag: v_3_0_15~77 X-Git-Url: http://www.privoxy.org/gitweb/team/index.html?a=commitdiff_plain;h=ff08f128c208d330122ab8e1fe6d37588b0e533f;p=privoxy.git Fix gcc45 on amd64 warning. --- diff --git a/jbsockets.c b/jbsockets.c index 7ed44397..1666b5fa 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1,4 +1,4 @@ -const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.64 2009/06/13 11:37:07 fabiankeil Exp $"; +const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.65 2009/07/22 22:27:16 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $ @@ -565,7 +565,7 @@ int read_socket(jb_socket fd, char *buf, int len) #elif defined(__BEOS__) || defined(AMIGA) || defined(__OS2__) return(recv(fd, buf, (size_t)len, 0)); #else - return(read(fd, buf, (size_t)len)); + return((int)read(fd, buf, (size_t)len)); #endif }