double
value;
+ int
+ c;
+
MagickStatusType
flags;
(void) value;
if (LocaleNCompare(p,"0x",2) == 0)
value=(double) strtol(p,&q,10);
- if ((((int) *q) == -41) || (*q == 'x') || (*q == 'X') || (*q == '\0'))
+ c=(*q);
+ if ((c == -41) || (*q == 'x') || (*q == 'X') || (*q == '\0'))
{
/*
Parse width.
if (p != q)
flags|=WidthValue;
}
- if ((((int) *p) == -41) || (*p == 'x') || (*p == 'X'))
+ c=(*p);
+ if ((c == -41) || (*p == 'x') || (*p == 'X'))
{
p++;
if ((*p != '+') && (*p != '-'))
double
value;
+ int
+ c;
+
MagickStatusType
flags;
value=InterpretLocaleValue(p,&q);
if (LocaleNCompare(p,"0x",2) == 0)
value=(double) strtol(p,&q,10);
- if ((((int) *q) == -41) || (*q == 'x') || (*q == 'X') || (*q == ',') ||
+ c=(*q);
+ if ((c == -41) || (*q == 'x') || (*q == 'X') || (*q == ',') ||
(*q == '/') || (*q == ':') || (*q =='\0'))
{
/*
}
}
q=p;
- if ((((int) *p) == -41) || (*p == 'x') || (*p == 'X') || (*p == ',') ||
- (*p == '/') || (*p == ':'))
+ c=(*p);
+ if ((c == -41) || (*p == 'x') || (*p == 'X') || (*p == ',') || (*p == '/') ||
+ (*p == ':'))
{
/*
Parse sigma.
p++;
while (isspace((int) ((unsigned char) *p)) != 0)
p++;
- if (((((int) *q) != -41) && (*q != 'x') && (*q != 'X')) ||
- ((*p != '+') && (*p != '-')))
+ c=(*q);
+ if (((c != -41) && (*q != 'x') && (*q != 'X')) || ((*p != '+') &&
+ (*p != '-')))
{
q=p;
value=InterpretLocaleValue(p,&p);