changeset 14690:cd283f1eb0cf

(doprnt1): Move cast to unsigned inside a shift.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Feb 1996 20:24:16 +0000
parents bd83ed983a96
children 88df8e3ef688
files src/doprnt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doprnt.c	Mon Feb 26 19:42:29 1996 +0000
+++ b/src/doprnt.c	Mon Feb 26 20:24:16 1996 +0000
@@ -137,7 +137,7 @@
 	    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.  */