--- mddisplay.c.orig 2003-08-04 07:48:13.000000000 -0700
+++ mddisplay.c 2009-09-30 11:36:01.000000000 -0700
// Write the movie and view structs, which contain transformation matrices,
// as well as other info such as scaling
- printf(" Writing session file %s (%d bytes).\n", sesFileName,sizeof(movie) + sizeof (view));
+ printf(" Writing session file %s (%ld bytes).\n", sesFileName,sizeof(movie) + sizeof (view));
f = fopen_or_exit_if_error(sesFileName,"wb");
fwrite_or_exit_if_error(&movie,sizeof (movie),1,f);
fwrite_or_exit_if_error(&view,sizeof (view),1,f);
fread(&attribs[nat+nres+1],sizeof(atomattrib),1,f);
- printf("%d attribute bytes read (%d attribute records).\n",
+ printf("%d attribute bytes read (%ld attribute records).\n",
attribytesread,attribytesread/sizeof(atomattrib));
/* CHECK FOR BOX COORDS */