Commit d8e77dfd authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(doprnt1): Move cast to unsigned inside a shift.

parent fcc303f4
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment