git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c84924
)
wrong typecast
author
Herb Lewis
<herb@samba.org>
Fri, 15 Aug 2003 17:50:16 +0000
(17:50 +0000)
committer
Herb Lewis
<herb@samba.org>
Fri, 15 Aug 2003 17:50:16 +0000
(17:50 +0000)
(This used to be commit
de7674ebefe3a8b0f953afe983ce058e11f827c2
)
source4/libcli/raw/clikrb5.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/clikrb5.c
b/source4/libcli/raw/clikrb5.c
index 5edc56daa9b3f3988c5a22e1a3d5e5679a4c40db..24da1455deb0124269441c07ead182ec876cfa24 100644
(file)
--- a/
source4/libcli/raw/clikrb5.c
+++ b/
source4/libcli/raw/clikrb5.c
@@
-74,7
+74,7
@@
{
pkaddr->addrtype = ADDRTYPE_INET;
pkaddr->length = sizeof(((struct sockaddr_in *)paddr)->sin_addr);
- pkaddr->contents = (
char
*)&(((struct sockaddr_in *)paddr)->sin_addr);
+ pkaddr->contents = (
krb5_octet
*)&(((struct sockaddr_in *)paddr)->sin_addr);
}
#else
__ERROR__XX__UNKNOWN_ADDRTYPE