diff options
author | Andreas Schneider <asn@samba.org> | 2017-12-07 17:50:33 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-03-20 23:16:15 +0100 |
commit | d5a8c49c1bc71eb751c57d076f452d7a2c3e95ea (patch) | |
tree | b0812e9f5b252922e63cd4381cc2644a8eb7482c /source4 | |
parent | 13540613edfcde827a41f60d78d64c63eb99f065 (diff) | |
download | samba-d5a8c49c1bc71eb751c57d076f452d7a2c3e95ea.tar.gz |
s3:torture: Fix size types in spoolss test
This fixes compilation with -Wstrict-overflow=2
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 91f32692042..48ad3d1e2e3 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -5630,7 +5630,7 @@ static bool test_SetPrinterDataEx_matrix(struct torture_context *tctx, REG_BINARY }; const char *str = "abcdefghi"; - int t, s; + size_t t, s; for (t=0; t < ARRAY_SIZE(types); t++) { for (s=0; s < strlen(str); s++) { |