(x_inline): Add cast to long to avoid warning.
authordrepper <drepper>
Sun, 28 Jan 2001 17:52:48 +0000 (17:52 +0000)
committerdrepper <drepper>
Sun, 28 Jan 2001 17:52:48 +0000 (17:52 +0000)
sunrpc/xdr_sizeof.c

index cbf8bdf..76b53d9 100644 (file)
@@ -93,7 +93,7 @@ x_inline (XDR *xdrs, int len)
          xdrs->x_base = 0;
          return NULL;
        }
-      xdrs->x_base = (void *) len;
+      xdrs->x_base = (void *) (long) len;
       xdrs->x_handy += len;
       return (int32_t *) xdrs->x_private;
     }