[Python-checkins] r77648 - python/branches/py3k-cdecimal/Modules/cdecimal/sixstep.c
stefan.krah
python-checkins at python.org
Thu Jan 21 16:42:45 CET 2010
Author: stefan.krah
Date: Thu Jan 21 16:42:45 2010
New Revision: 77648
Log:
Change size_t to mpd_size_t.
Modified:
python/branches/py3k-cdecimal/Modules/cdecimal/sixstep.c
Modified: python/branches/py3k-cdecimal/Modules/cdecimal/sixstep.c
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/sixstep.c (original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/sixstep.c Thu Jan 21 16:42:45 2010
@@ -29,10 +29,10 @@
/* forward transform with sign = -1 */
int
-six_step_fnt(mpd_uint_t *a, size_t n, int modnum, int ordered)
+six_step_fnt(mpd_uint_t *a, mpd_size_t n, int modnum, int ordered)
{
struct fnt_params *tparams;
- size_t log2n, C, R;
+ mpd_size_t log2n, C, R;
mpd_uint_t kernel;
mpd_uint_t umod;
#ifdef PPRO
@@ -40,7 +40,7 @@
uint32_t dinvmod[3];
#endif
mpd_uint_t *x, w0, w1, wstep;
- size_t i, k;
+ mpd_size_t i, k;
assert(ispower2(n));
@@ -103,10 +103,10 @@
/* reverse transform, sign = 1 */
int
-inv_six_step_fnt(mpd_uint_t *a, size_t n, int modnum, int ordered)
+inv_six_step_fnt(mpd_uint_t *a, mpd_size_t n, int modnum, int ordered)
{
struct fnt_params *tparams;
- size_t log2n, C, R;
+ mpd_size_t log2n, C, R;
mpd_uint_t kernel;
mpd_uint_t umod;
#ifdef PPRO
@@ -114,7 +114,7 @@
uint32_t dinvmod[3];
#endif
mpd_uint_t *x, w0, w1, wstep;
- size_t i, k;
+ mpd_size_t i, k;
assert(ispower2(n));
More information about the Python-checkins
mailing list