summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-26 06:09:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:51 -0500
commit6a7119fc83326b8243a1ce4598fe6b6c4b013e45 (patch)
tree096a6ffb63fa2a9803cc0f12732d3b807c5d9b4e /source4/lib
parente83fb4fa1b08b427888c7e1b62fff0520bcd6942 (diff)
downloadsamba-6a7119fc83326b8243a1ce4598fe6b6c4b013e45.tar.gz
samba-6a7119fc83326b8243a1ce4598fe6b6c4b013e45.tar.bz2
samba-6a7119fc83326b8243a1ce4598fe6b6c4b013e45.zip
r7926: poptGetNextOpt() returns int, not char
this was breaking ldbadd on some platforms (This used to be commit dd0ac3f68d709c0364d992673e76db73398c0369)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/tools/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index 606c511600..48dc8ddd47 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -42,7 +42,7 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
int r;
#endif
int num_options = 0;
- char opt;
+ int opt;
struct poptOption popt_options[] = {
POPT_AUTOHELP
{ "url", 'H', POPT_ARG_STRING, &options.url, 0, "database URL", "URL" },