--- Lib/sandbox/models/bspline_module.py~ 2006-12-07 01:13:15.000000000 +0000 +++ Lib/sandbox/models/bspline_module.py 2007-06-06 22:16:13.556342500 +0100 @@ -128,7 +128,7 @@ eval_ext_code = ''' - int dim[2] = {upper-lower, Nx[0]}; + npy_intp dim[2] = {upper-lower, Nx[0]}; PyArrayObject *basis; double *data; @@ -252,7 +252,7 @@ gram_ext_code = ''' - int dim[2] = {Nknots[0]-m, m}; + npy_intp dim[2] = {Nknots[0]-m, m}; double *data; PyArrayObject *gram; @@ -315,7 +315,7 @@ invband_ext_code = ''' - int dim[2] = {NL[0], NL[1]}; + npy_intp dim[2] = {NL[0], NL[1]}; int i, j; double *data; PyArrayObject *invband;