diff options
| author | Vito Caputo <vcaputo@pengaru.com> | 2021-09-03 15:56:45 -0700 | 
|---|---|---|
| committer | Vito Caputo <vcaputo@pengaru.com> | 2021-09-03 15:56:45 -0700 | 
| commit | b738afd078da5972bc9cfce2bc51f91653874164 (patch) | |
| tree | f1586348fc67c47c738b3a4691628398af8d54d8 | |
| parent | b8ed34e910db12f58e9677af5c59891bba55707b (diff) | |
Silencing some gcc warnings...
| -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;						\  		}								\ | 
