Re: AMBER: top2mol2.c scanf format string bug

From: David A. Case <case.scripps.edu>
Date: Tue, 7 Nov 2006 08:18:43 -0800

On Mon, Nov 06, 2006, Chris Moth wrote:

> In $AMBERHOME/src/antechamber/top2mol2.c there is this:
>
> 21: long crd_atomnum = 0;
> ....
> 194: sscanf(line, "%d", &crd_atomnum);

Thanks for the note. Junmei and I think that the better solution is to use
"int" rather than "long" for the declarations in this file. We will be posting
a bug-fix related to this soon.


...regards....dave case

-- 
==================================================================
David A. Case                     |  e-mail:      case.scripps.edu
Dept. of Molecular Biology, TPC15 |  fax:          +1-858-784-8896
The Scripps Research Institute    |  phone:        +1-858-784-9768
10550 N. Torrey Pines Rd.         |  skype:                 dacase
La Jolla CA 92037  USA            |    http://www.scripps.edu/case
==================================================================
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Nov 08 2006 - 06:07:34 PST
Custom Search