git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea50825
)
lib: Align integer types
author
Volker Lendecke
<vl@samba.org>
Wed, 25 Apr 2018 10:05:37 +0000
(12:05 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 19 Jun 2018 06:59:11 +0000
(08:59 +0200)
Loop-variable and bound should be the same type
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/lib/srprs.c
patch
|
blob
|
history
diff --git
a/source3/lib/srprs.c
b/source3/lib/srprs.c
index a3fd0c3e48a8e2b0378bb89f55e69b1f569fd362..db0448c1788cf6c9157fbfc13ab5e64b43d9515b 100644
(file)
--- a/
source3/lib/srprs.c
+++ b/
source3/lib/srprs.c
@@
-128,7
+128,7
@@
bool srprs_hex(const char** ptr, size_t len, unsigned* u)
const char *str = *ptr;
const char *pos = *ptr;
int ret;
-
in
t i;
+
size_
t i;
char buf[8+1] = {};
assert((len >= 1) && (len <= 8));