summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 17:50:16 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 17:50:16 +0000
commitefacfb37fc0d7310c72c40bfed4b52ecaf365b11 (patch)
treea65e77376d7f7d2974c8398be1aa94012bdb24e8 /source4/libcli
parent1c849248d46d6ac50ef0de4e393a673792243ddf (diff)
downloadsamba-efacfb37fc0d7310c72c40bfed4b52ecaf365b11.tar.gz
samba-efacfb37fc0d7310c72c40bfed4b52ecaf365b11.tar.bz2
samba-efacfb37fc0d7310c72c40bfed4b52ecaf365b11.zip
wrong typecast
(This used to be commit de7674ebefe3a8b0f953afe983ce058e11f827c2)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/clikrb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clikrb5.c b/source4/libcli/raw/clikrb5.c
index 5edc56daa9..24da1455de 100644
--- 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