about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/dl-tunables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-tunables.c b/elf/dl-tunables.c
index a1001fe313..26e6e26612 100644
--- a/elf/dl-tunables.c
+++ b/elf/dl-tunables.c
@@ -93,9 +93,9 @@ get_next_env (char **envp, char **name, size_t *namelen, char **val,
   __type min = (__cur)->type.min;					      \
   __type max = (__cur)->type.max;					      \
 									      \
-  if ((__type) (__val) >= min && (__type) (val) <= max)			      \
+  if ((__type) (__val) >= min && (__type) (__val) <= max)		      \
     {									      \
-      (__cur)->val.numval = val;					      \
+      (__cur)->val.numval = (__val);					      \
       (__cur)->initialized = true;					      \
     }									      \
 })