Fix two more warnings

Moved one initialization up to the top of the function
Change to an unsigned type

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
diff --git a/src/clnt_dg.c b/src/clnt_dg.c
index 88cd441..25a1ab1 100644
--- a/src/clnt_dg.c
+++ b/src/clnt_dg.c
@@ -487,7 +487,7 @@
     struct cu_data *cu = CU_DATA((struct cx_data *) clnt->cl_p1);
     XDR *xdrs;
     sigset_t mask, newmask;
-    bool dummy;
+    bool dummy = 0;
 
     /* XXX guard against illegal invocation from libc (will fix) */
     if (! xdr_res)
@@ -504,7 +504,6 @@
     rpc_dplx_rwc(clnt, rpc_flag_clear);
 
     xdrs->x_op = XDR_FREE;
-    dummy = 0;
     if (xdr_res)
         dummy = (*xdr_res)(xdrs, res_ptr);
 
diff --git a/src/getpeereid.c b/src/getpeereid.c
index 8214055..dd1fad4 100644
--- a/src/getpeereid.c
+++ b/src/getpeereid.c
@@ -41,7 +41,7 @@
 #if defined(SO_PEERCRED)
 	/* Linux: use getsockopt(SO_PEERCRED) */
 	struct ucred peercred;
-	int32_t so_len = sizeof(peercred);
+	socklen_t so_len = sizeof(peercred);
 
 	if (getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &peercred, &so_len) != 0 ||
 		so_len != sizeof(peercred))