git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3483f9
)
s3:rpcclient: Fix size types
author
Andreas Schneider
<asn@samba.org>
Thu, 7 Dec 2017 18:21:38 +0000
(19:21 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 20 Mar 2018 22:16:16 +0000
(23:16 +0100)
This fixes compilation with -Wstrict-overflow=2
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index 4eb1e145715252f4977c8bcc154e3f59a619a5a5..b4e25e6e479222fc082c2eab1337a5d8a2f37652 100644
(file)
--- a/
source3/rpcclient/rpcclient.c
+++ b/
source3/rpcclient/rpcclient.c
@@
-73,7
+73,7
@@
static char **completion_fn(const char *text, int start, int end)
{
#define MAX_COMPLETIONS 1000
char **matches;
-
in
t i, count=0;
+
size_
t i, count=0;
struct cmd_list *commands = cmd_list;
#if 0 /* JERRY */