projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3efffe
)
Fix compiler warning about char signedness in buffer pointer
author
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 12 Dec 2011 22:34:26 +0000
(22:34 +0000)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 12 Dec 2011 22:34:26 +0000
(22:34 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
tun.c
patch
|
blob
|
history
diff --git
a/tun.c
b/tun.c
index
2f6f2ae
..
2a7552e
100644
(file)
--- a/
tun.c
+++ b/
tun.c
@@
-623,7
+623,7
@@
int tun_mainloop(struct openconnect_info *vpninfo, int *timeout)
int flags = 0;
int ret;
- strb.buf = out_pkt->data;
+ strb.buf =
(caddr_t)
out_pkt->data;
strb.maxlen = len;
strb.len = 0;
ret = getmsg(vpninfo->tun_fd, NULL, &strb, &flags);