[Python-checkins] r77646 - python/branches/py3k-cdecimal/Modules/cdecimal/numbertheory.c

stefan.krah python-checkins at python.org
Thu Jan 21 16:41:44 CET 2010


Author: stefan.krah
Date: Thu Jan 21 16:41:44 2010
New Revision: 77646

Log:
Change size_t to mpd_size_t.

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

Modified: python/branches/py3k-cdecimal/Modules/cdecimal/numbertheory.c
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/numbertheory.c	(original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/numbertheory.c	Thu Jan 21 16:41:44 2010
@@ -35,7 +35,7 @@
 
 /* initialize transform parameters */
 struct fnt_params *
-_mpd_init_fnt_params(size_t n, int sign, int modnum)
+_mpd_init_fnt_params(mpd_size_t n, int sign, int modnum)
 {
 	struct fnt_params *tparams;
 	mpd_uint_t umod;
@@ -45,7 +45,7 @@
 #endif
 	mpd_uint_t kernel, imag, w;
 	mpd_uint_t i;
-	size_t nhalf;
+	mpd_size_t nhalf;
 
 	assert(ispower2(n));
 	assert(sign == -1 || sign == 1);


More information about the Python-checkins mailing list