diff options
Diffstat (limited to 'src/ewald.c')
-rw-r--r-- | src/ewald.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ewald.c b/src/ewald.c index fc0c35e0..fca488f6 100644 --- a/src/ewald.c +++ b/src/ewald.c @@ -167,7 +167,7 @@ void get_ewald(struct image *image) { double kc; /* Wavenumber */ int i, kstep; - int mtotal = 0; + long long int mtotal = 0; kc = 1/image->lambda; /* Centre */ @@ -183,7 +183,7 @@ void get_ewald(struct image *image) image->qvecs[i] = malloc(image->width * image->height * sizeof(struct rvec)); } - STATUS("%i spheres, %i Mbytes\n", image->nspheres, mtotal/(1024*1024)); + STATUS("%i spheres, %lli Mbytes\n", image->nspheres, mtotal/(1024*1024)); for ( kstep=0; kstep<BWSAMPLING; kstep++ ) { |