diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 8fbd8ac92e2..f25d10dbd67 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3723,9 +3723,9 @@ FLAGS is the current flags of the interface. */) | |||
| 3723 | flags -= fp->flag_bit; | 3723 | flags -= fp->flag_bit; |
| 3724 | } | 3724 | } |
| 3725 | } | 3725 | } |
| 3726 | for (fnum = 0; flags && fnum < 32; fnum++) | 3726 | for (fnum = 0; flags && fnum < 32; flags >>= 1, fnum++) |
| 3727 | { | 3727 | { |
| 3728 | if (flags & (1 << fnum)) | 3728 | if (flags & 1) |
| 3729 | { | 3729 | { |
| 3730 | elt = Fcons (make_number (fnum), elt); | 3730 | elt = Fcons (make_number (fnum), elt); |
| 3731 | } | 3731 | } |