diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-04-04 18:41:18 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-04-04 18:41:18 +0200 |
commit | 4d38aeaca42d0bdfe34a833a142ee4d895de03bf (patch) | |
tree | 8ade69f0c43d5683fc61f64ff6763cd7d485e349 | |
parent | 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a (diff) |
Fixed a few warnings.
-rw-r--r-- | src/xcms/LRGB.c | 2 | ||||
-rw-r--r-- | src/xcms/Lab.c | 2 | ||||
-rw-r--r-- | src/xcms/Luv.c | 2 | ||||
-rw-r--r-- | src/xcms/XYZ.c | 2 | ||||
-rw-r--r-- | src/xcms/uvY.c | 2 | ||||
-rw-r--r-- | src/xcms/xyY.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/xcms/LRGB.c b/src/xcms/LRGB.c index bf8cacd..1b3c5e5 100644 --- a/src/xcms/LRGB.c +++ b/src/xcms/LRGB.c @@ -1434,7 +1434,7 @@ XcmsLRGB_RGBi_ParseString( &pColor->spec.RGBi.blue) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/Lab.c b/src/xcms/Lab.c index 7238c16..75ed21d 100644 --- a/src/xcms/Lab.c +++ b/src/xcms/Lab.c @@ -164,7 +164,7 @@ CIELab_ParseString( &pColor->spec.CIELab.b_star) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/Luv.c b/src/xcms/Luv.c index 3af891a..f6567ac 100644 --- a/src/xcms/Luv.c +++ b/src/xcms/Luv.c @@ -167,7 +167,7 @@ CIELuv_ParseString( &pColor->spec.CIELuv.v_star) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/XYZ.c b/src/xcms/XYZ.c index b4dda77..5c93dad 100644 --- a/src/xcms/XYZ.c +++ b/src/xcms/XYZ.c @@ -146,7 +146,7 @@ CIEXYZ_ParseString( &pColor->spec.CIEXYZ.Z) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/uvY.c b/src/xcms/uvY.c index 28b1ecb..46e9c19 100644 --- a/src/xcms/uvY.c +++ b/src/xcms/uvY.c @@ -161,7 +161,7 @@ CIEuvY_ParseString( &pColor->spec.CIEuvY.Y) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; diff --git a/src/xcms/xyY.c b/src/xcms/xyY.c index 81e681b..b15e901 100644 --- a/src/xcms/xyY.c +++ b/src/xcms/xyY.c @@ -160,7 +160,7 @@ CIExyY_ParseString( &pColor->spec.CIExyY.Y) != 3) { char *s; /* Maybe failed due to locale */ int f; - if (s = strdup(spec)) { + if ((s = strdup(spec))) { for (f = 0; s[f]; ++f) if (s[f] == '.') s[f] = ','; |