summary refs log tree commit diff
path: root/stdio-common/_itoa.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-16 19:12:54 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-16 19:12:54 +0000
commitcae8899646b7acc7e5b27c14624a027f5240787f (patch)
tree546aa52374b05353046b76272e1c53314df04ba4 /stdio-common/_itoa.c
parent9d1efe331c8437e22b4a8110f435d92c7d38774b (diff)
downloadglibc-cae8899646b7acc7e5b27c14624a027f5240787f.tar.gz
glibc-cae8899646b7acc7e5b27c14624a027f5240787f.tar.xz
glibc-cae8899646b7acc7e5b27c14624a027f5240787f.zip
Update.
1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
	under the right name (squish warning).
	* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>

	* stdio-common/_itoa.c (_itoa): Add redundant parentheses to
	prevent warnings.
Diffstat (limited to 'stdio-common/_itoa.c')
-rw-r--r--stdio-common/_itoa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c
index e3b0533476..72949ea8fb 100644
--- a/stdio-common/_itoa.c
+++ b/stdio-common/_itoa.c
@@ -278,8 +278,8 @@ _itoa (value, buflim, base, upper_case)
 		if (big_normalization_steps == 0)
 		  xh = 0;
 		else
-		  xh = (mp_limb_t) (value >> 64 - big_normalization_steps);
-		xl = (mp_limb_t) (value >> 32 - big_normalization_steps);
+		  xh = (mp_limb_t) (value >> (64 - big_normalization_steps));
+		xl = (mp_limb_t) (value >> (32 - big_normalization_steps));
 		udiv_qrnnd_preinv (x1hi, r, xh, xl, big_base_norm,
 				   brec->big.base_ninv);
 
@@ -292,7 +292,7 @@ _itoa (value, buflim, base, upper_case)
 		  xh = x1hi;
 		else
 		  xh = ((x1hi << big_normalization_steps)
-			| (x1lo >> 32 - big_normalization_steps));
+			| (x1lo >> (32 - big_normalization_steps)));
 		xl = x1lo << big_normalization_steps;
 		udiv_qrnnd_preinv (t[0], x, xh, xl, big_base_norm,
 				   big_normalization_steps);