git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:lib: Fix size types in ms_fnmatch()
[samba.git]
/
source3
/
lib
/
ms_fnmatch.c
diff --git
a/source3/lib/ms_fnmatch.c
b/source3/lib/ms_fnmatch.c
index 9763afefe76ece44601ad12fbfc8f11ec8738970..a69407b526716951b4e2559acce87ca11e06e157 100644
(file)
--- a/
source3/lib/ms_fnmatch.c
+++ b/
source3/lib/ms_fnmatch.c
@@
-150,7
+150,8
@@
int ms_fnmatch(const char *pattern, const char *string, bool translate_pattern,
{
smb_ucs2_t *p = NULL;
smb_ucs2_t *s = NULL;
- int ret, count, i;
+ int ret;
+ size_t count, i;
struct max_n *max_n = NULL;
struct max_n *max_n_free = NULL;
struct max_n one_max_n;