diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-26 06:09:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:51 -0500 |
commit | 6a7119fc83326b8243a1ce4598fe6b6c4b013e45 (patch) | |
tree | 096a6ffb63fa2a9803cc0f12732d3b807c5d9b4e /source4/lib/ldb/tools | |
parent | e83fb4fa1b08b427888c7e1b62fff0520bcd6942 (diff) | |
download | samba-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/ldb/tools')
-rw-r--r-- | source4/lib/ldb/tools/cmdline.c | 2 |
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" }, |