X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frecv.c;h=cd93cbc12001cc94b96ff38f1ef1a72b433ce11e;hb=6892ce27efe6c361326a4e478ee564f59579f7d2;hp=78c046159351e6888bcb1a6baff01966c24313a3;hpb=11ee0e1340f95ccb9954e522f6e003b3125eb109;p=gnulib.git diff --git a/lib/recv.c b/lib/recv.c index 78c046159..cd93cbc12 100644 --- a/lib/recv.c +++ b/lib/recv.c @@ -1,6 +1,6 @@ /* recv.c --- wrappers for Windows recv function - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,8 +28,8 @@ #undef recv -int -rpl_recv (int fd, void *buf, int len, int flags) +ssize_t +rpl_recv (int fd, void *buf, size_t len, int flags) { SOCKET sock = FD_TO_SOCKET (fd); int r = recv (sock, buf, len, flags);