[Python-checkins] r77626 - python/branches/py3k-cdecimal/Modules/cdecimal/constants.c

stefan.krah python-checkins at python.org
Thu Jan 21 16:03:52 CET 2010


Author: stefan.krah
Date: Thu Jan 21 16:03:51 2010
New Revision: 77626

Log:
Change size_t to mpd_size_t.

Modified:
   python/branches/py3k-cdecimal/Modules/cdecimal/constants.c

Modified: python/branches/py3k-cdecimal/Modules/cdecimal/constants.c
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/constants.c	(original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/constants.c	Thu Jan 21 16:03:51 2010
@@ -24,7 +24,7 @@
   const mpd_uint_t UH_P1P2 = 18446744052234715141ULL;     /* (P1*P2) / 2^64 */
 
   /* transpose.c */
-  const size_t mpd_bits[64] = {
+  const mpd_size_t mpd_bits[64] = {
     1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024,  2048, 4096, 8192, 16384,
     32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608,
     16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824,
@@ -74,7 +74,7 @@
   const mpd_uint_t UH_P1P2 = 990904320ULL;   /* (P1*P2) / 2^32 */
 
   /* transpose.c */
-  const size_t mpd_bits[32] = {
+  const mpd_size_t mpd_bits[32] = {
     1, 2, 4, 8, 16, 32, 64, 128, 256, 512,  1024,  2048, 4096, 8192, 16384,
     32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608,
     16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824,


More information about the Python-checkins mailing list