The branch, master has been updated via 014a3a992612269344511181a6701bacc816c934 (commit) from 956740aa6fe59940bd59786e096d4062288fa587 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 014a3a992612269344511181a6701bacc816c934 Author: Günther Deschner <g...@samba.org> Date: Fri Sep 25 12:17:17 2009 +0200 lib/util: fix build warning. Guenther ----------------------------------------------------------------------- Summary of changes: lib/util/genrand.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/util/genrand.c b/lib/util/genrand.c index 1519931..8c7d88a 100644 --- a/lib/util/genrand.c +++ b/lib/util/genrand.c @@ -407,7 +407,7 @@ _PUBLIC_ char** generate_unique_strs(TALLOC_CTX *mem_ctx, size_t len, strs = talloc_array(mem_ctx, char *, num); for (i = 0; i < num; i++) { - char *retstr = talloc_zero_size(mem_ctx, len + 1); + char *retstr = (char *)talloc_zero_size(mem_ctx, len + 1); rem = i; for (j = len - 1; j >= 0; j--) { place = s_pow(c_size, j); -- Samba Shared Repository