summaryrefslogtreecommitdiffstats
path: root/source/lib/genrand.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-13 19:12:06 +0000
committerJeremy Allison <jra@samba.org>2001-04-13 19:12:06 +0000
commitfc76681812b1469208ad6c8847afdfc68bc6db49 (patch)
tree016255c268fa14d259facf86e8b4c9ec357d0006 /source/lib/genrand.c
parent4f06373bc450b27692619ae877d29767ad160297 (diff)
downloadsamba-fc76681812b1469208ad6c8847afdfc68bc6db49.tar.gz
samba-fc76681812b1469208ad6c8847afdfc68bc6db49.tar.xz
samba-fc76681812b1469208ad6c8847afdfc68bc6db49.zip
Merge of Andrew's changes in 2.2.
Jeremy.
Diffstat (limited to 'source/lib/genrand.c')
-rw-r--r--source/lib/genrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/genrand.c b/source/lib/genrand.c
index c8c39d026e4..4a7de802e8f 100644
--- a/source/lib/genrand.c
+++ b/source/lib/genrand.c
@@ -249,5 +249,5 @@ char *generate_random_str(size_t len)
retstr[i] = '\0';
- return retstr;
+ return (char *)retstr;
}