summaryrefslogtreecommitdiffstats
path: root/lib/libF77/getenv_.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libF77/getenv_.c')
-rw-r--r--lib/libF77/getenv_.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libF77/getenv_.c b/lib/libF77/getenv_.c
index 2a035ea..7ba2de5 100644
--- a/lib/libF77/getenv_.c
+++ b/lib/libF77/getenv_.c
@@ -30,7 +30,7 @@ for(fp = fname ; fp < flast ; ++fp)
break;
}
-while (ep = *env++)
+while ( (ep = *env++) )
{
for(fp = fname; fp<flast ; )
if(*fp++ != *ep++)
OpenPOWER on IntegriCloud