summaryrefslogtreecommitdiff
path: root/test/xtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/xtest.c')
-rw-r--r--test/xtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/xtest.c b/test/xtest.c
index 86d7fba01ce79..f5275f0b42ec1 100644
--- a/test/xtest.c
+++ b/test/xtest.c
@@ -85,7 +85,7 @@ main(Void)
int i, dItry, ndig = 0, r = 1;
union { long double d; UShort bits[5]; } u, v[2];
- while(s = fgets(ibuf, sizeof(ibuf), stdin)) {
+ while((s = fgets(ibuf, sizeof(ibuf), stdin))) {
while(*s <= ' ')
if (!*s++)
continue;
@@ -96,7 +96,7 @@ main(Void)
continue;
case 'n':
i = s[1];
- if (i <= ' ' || i >= '0' && i <= '9') {
+ if (i <= ' ' || (i >= '0' && i <= '9')) {
ndig = atoi(s+1);
continue;
}