浏览代码

fix variable type

Jindrich Makovicka 16 年之前
父节点
当前提交
e9e33d131b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pinger.c

+ 1 - 1
pinger.c

@@ -651,7 +651,7 @@ void receiver()
 {
     int cc;
     struct sockaddr_in from;
-    size_t fromlen;
+    socklen_t fromlen;
     struct timeval tv,tv_old,tv_new;
     fd_set rfds;
     int avail;