s3:torture: Fix size types in make_nonstd_fd()
[samba.git] / source3 / torture / wbc_async.c
index 1a7495acad868cfeddf576194e04bd4129049673..a9020ddcda5a85cdf29ad9d12ed7eec3d9207b13 100644 (file)
@@ -98,10 +98,10 @@ struct wb_context {
 
 static int make_nonstd_fd(int fd)
 {
-       int i;
+       size_t i;
        int sys_errno = 0;
        int fds[3];
-       int num_fds = 0;
+       size_t num_fds = 0;
 
        if (fd == -1) {
                return -1;