Another "pointer target types differ in signedness" warning popped up.
authorpacman <pacman>
Thu, 19 Oct 2000 00:27:16 +0000 (00:27 +0000)
committerpacman <pacman>
Thu, 19 Oct 2000 00:27:16 +0000 (00:27 +0000)
src/main/radiusd.c

index 1ca5f65..9ed015e 100644 (file)
@@ -980,7 +980,7 @@ int main(int argc, char **argv)
                        request->child_pid = NO_SUCH_CHILD_PID;
                        request->prev = NULL;
                        request->next = NULL;
-                       strNcpy(request->secret, secret, sizeof(request->secret));
+                       strNcpy(request->secret, (char *)secret, sizeof(request->secret));
                        rad_process(request, spawn_flag);
                } /* loop over authfd, acctfd, proxyfd */