diff options
| author | Richard M. Stallman | 1996-02-26 20:24:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-02-26 20:24:16 +0000 |
| commit | d8e77dfd58b45e8496abba3ef06a77af4b982286 (patch) | |
| tree | 80296241fef3ed9b7d2afb067427e00348315b60 /src | |
| parent | fcc303f4c1853369188ed49b6ced75a0b85e2ecb (diff) | |
| download | emacs-d8e77dfd58b45e8496abba3ef06a77af4b982286.tar.gz emacs-d8e77dfd58b45e8496abba3ef06a77af4b982286.zip | |
(doprnt1): Move cast to unsigned inside a shift.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doprnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doprnt.c b/src/doprnt.c index 2a3839d389e..3a1e41741c5 100644 --- a/src/doprnt.c +++ b/src/doprnt.c | |||
| @@ -137,7 +137,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args) | |||
| 137 | size_bound = -size_bound; | 137 | size_bound = -size_bound; |
| 138 | size_bound += 50; | 138 | size_bound += 50; |
| 139 | 139 | ||
| 140 | if (size_bound > (unsigned) (1 << (BITS_PER_INT - 1))) | 140 | if (size_bound > (((unsigned) 1) << (BITS_PER_INT - 1))) |
| 141 | error ("Format padding too large"); | 141 | error ("Format padding too large"); |
| 142 | 142 | ||
| 143 | /* Make sure we have that much. */ | 143 | /* Make sure we have that much. */ |