diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-03-30 06:27:36 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-30 06:27:36 +0000 |
| commit | 6881bfb99063e3d42abaa313641b311c6fc3522d (patch) | |
| tree | 1df669d89a2f58b450947901b1f41eb407dbf540 /src/core/ngx_atomic.h | |
| parent | 11dbe97ca401221313dc233aa2d6f67dfcaef1a7 (diff) | |
| download | nginx-6881bfb99063e3d42abaa313641b311c6fc3522d.tar.gz nginx-6881bfb99063e3d42abaa313641b311c6fc3522d.tar.bz2 | |
nginx-0.0.3-2004-03-30-10:27:36 import
Diffstat (limited to 'src/core/ngx_atomic.h')
| -rw-r--r-- | src/core/ngx_atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_atomic.h b/src/core/ngx_atomic.h index 311ef8892..6270d8a51 100644 --- a/src/core/ngx_atomic.h +++ b/src/core/ngx_atomic.h @@ -64,7 +64,7 @@ static ngx_inline uint32_t ngx_atomic_cmp_set(ngx_atomic_t *lock, " setz %%al; " " movzbl %%al, %0; " - : "+a" (res) : "m" (*lock), "a" (old), "q" (set)); + : "=a" (res) : "m" (*lock), "a" (old), "q" (set)); return res; } |
