Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-03-24 18:44:55 +0000
committereutarass2011-03-24 18:44:55 +0000
commit327479b5006e353b41a2796e233678fa4695f4c0 (patch)
treed68c9a195e49ab0228748683f6c1f2293df2872d /services/expressions.c
parent6ec679763f07c94ac282b4d8a3c863c3ea3ef4b9 (diff)
downloadorg.eclipse.tcf.agent-327479b5006e353b41a2796e233678fa4695f4c0.tar.gz
org.eclipse.tcf.agent-327479b5006e353b41a2796e233678fa4695f4c0.tar.xz
org.eclipse.tcf.agent-327479b5006e353b41a2796e233678fa4695f4c0.zip
Bug 340319: Patch to remove warning during compilation
Diffstat (limited to 'services/expressions.c')
-rw-r--r--services/expressions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/expressions.c b/services/expressions.c
index bd3e024a..a9841cf6 100644
--- a/services/expressions.c
+++ b/services/expressions.c
@@ -477,9 +477,9 @@ static void next_sy(void) {
text_val.size = sizeof(uint64_t);
text_val.value = alloc_str((size_t)text_val.size);
text_val.constant = 1;
- while (text_ch >= '0' && text_ch <= '9' ||
- text_ch >= 'A' && text_ch <= 'F' ||
- text_ch >= 'a' && text_ch <= 'f') {
+ while ((text_ch >= '0' && text_ch <= '9') ||
+ (text_ch >= 'A' && text_ch <= 'F') ||
+ (text_ch >= 'a' && text_ch <= 'f')) {
value = (value << 4) | next_hex();
}
*(uint64_t *)text_val.value = value;

Back to the top