projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc3e5f
)
Another "pointer target types differ in signedness" warning popped up.
author
pacman
<pacman>
Thu, 19 Oct 2000 00:27:16 +0000
(
00:27
+0000)
committer
pacman
<pacman>
Thu, 19 Oct 2000 00:27:16 +0000
(
00:27
+0000)
src/main/radiusd.c
patch
|
blob
|
history
diff --git
a/src/main/radiusd.c
b/src/main/radiusd.c
index
1ca5f65
..
9ed015e
100644
(file)
--- a/
src/main/radiusd.c
+++ b/
src/main/radiusd.c
@@
-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 */