mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 16:41:45 -08:00
(doprnt1): Move cast to unsigned inside a shift.
This commit is contained in:
parent
fcc303f4c1
commit
d8e77dfd58
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
|
|||
size_bound = -size_bound;
|
||||
size_bound += 50;
|
||||
|
||||
if (size_bound > (unsigned) (1 << (BITS_PER_INT - 1)))
|
||||
if (size_bound > (((unsigned) 1) << (BITS_PER_INT - 1)))
|
||||
error ("Format padding too large");
|
||||
|
||||
/* Make sure we have that much. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue