summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2005-07-12 22:22:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:14 -0500
commit61edb97bdfabf1ab313fbec5f47f5e6c8a79da1a (patch)
tree7b554690182fd2be55ba76a793227c3d3e46064c /source4/param
parentdf426e5d4a33491c6b4bd8878ae3fbf29e728b5f (diff)
downloadsamba-61edb97bdfabf1ab313fbec5f47f5e6c8a79da1a.tar.gz
samba-61edb97bdfabf1ab313fbec5f47f5e6c8a79da1a.tar.bz2
samba-61edb97bdfabf1ab313fbec5f47f5e6c8a79da1a.zip
r8394: Make sure the argument to ctype is*(3) macros are unsigned char as
required by ISO C99. (This used to be commit 56fd21c806e816cf4c3d23881f26474f858b45e2)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 0b1eb2dcd6..354318b2bd 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -2283,7 +2283,7 @@ static BOOL lp_do_parameter_parametric(int snum, const char *pszParmName, const
struct param_opt *paramo, *data;
char *name;
- while (isspace(*pszParmName)) {
+ while (isspace((unsigned char)*pszParmName)) {
pszParmName++;
}
@@ -2485,7 +2485,7 @@ BOOL lp_set_cmdline(const char *pszParmName, const char *pszParmValue)
int parmnum = map_parameter(pszParmName);
int i;
- while (isspace(*pszParmValue)) pszParmValue++;
+ while (isspace((unsigned char)*pszParmValue)) pszParmValue++;
if (parmnum < 0 && strchr(pszParmName, ':')) {