diff options
Diffstat (limited to 'thunk.h')
-rw-r--r-- | thunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -484,7 +484,7 @@ struct thunk_t { /* allocate and initialize environment, return it */ \ __thunk_environment_##_name *env; \ \ - while (env = __thunk_environment_cache_##_name) { \ + while ((env = __thunk_environment_cache_##_name)) { \ if (__sync_bool_compare_and_swap(&__thunk_environment_cache_##_name, env, env->next_free))\ break; \ } \ @@ -586,7 +586,7 @@ struct thunk_t { /* allocate and populate environment, return it */ \ __thunk_environment_##_name *env; \ \ - while (env = __thunk_environment_cache_##_name) { \ + while ((env = __thunk_environment_cache_##_name)) { \ if (__sync_bool_compare_and_swap(&__thunk_environment_cache_##_name, env, env->next_free))\ break; \ } \ |