From e0ebaddca236d0bcfc7b7eb56c9d72dccee0673f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 5 Feb 2010 18:50:48 +0100 Subject: This would be a BAD thing... --- src/ewald.c | 4 ++-- 1 file 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