summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-12-01 09:58:50 (GMT)
committernijtmans <nijtmans@noemail.net>2010-12-01 09:58:50 (GMT)
commitc9393d670c981b8027167413571b79be61af36f9 (patch)
treeff3e45f716f97fd6829df5f3c3f6ff70710f2771 /generic/tclStrToD.c
parente19d4ce2351f6b972a2005a2b4b0dd422bdf337d (diff)
downloadtcl-c9393d670c981b8027167413571b79be61af36f9.zip
tcl-c9393d670c981b8027167413571b79be61af36f9.tar.gz
tcl-c9393d670c981b8027167413571b79be61af36f9.tar.bz2
fix gcc 64-bit warnings: cast from pointer to integer of different size
fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration FossilOrigin-Name: 10b83db14ed5883178f726096ac9c95ecf489e73
Diffstat (limited to 'generic/tclStrToD.c')
-rwxr-xr-xgeneric/tclStrToD.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 69be044..983aeec 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStrToD.c,v 1.48 2010/11/29 02:27:11 kennykb Exp $
+ * RCS: @(#) $Id: tclStrToD.c,v 1.49 2010/12/01 09:58:51 nijtmans Exp $
*
*----------------------------------------------------------------------
*/
@@ -3093,7 +3093,7 @@ ShouldBankerRoundUpPowD(mp_int* b,
/* 1 if the digit is odd, 0 if even */
{
int i;
- const static mp_digit topbit = (1<<(DIGIT_BIT-1));
+ static const mp_digit topbit = (1<<(DIGIT_BIT-1));
if (b->used < sd || (b->dp[sd-1] & topbit) == 0) {
return 0;
}