aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-05 18:50:48 +0100
committerThomas White <taw@physics.org>2010-02-05 18:50:48 +0100
commite0ebaddca236d0bcfc7b7eb56c9d72dccee0673f (patch)
treeed8a83321558f0bda43e733c9a8d9829d8068944 /src
parentb052d18cec285961a7ce9c37774a1fd3a071f469 (diff)
This would be a BAD thing...
Diffstat (limited to 'src')
-rw-r--r--src/ewald.c4
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++ ) {