--- ./edlib/strtonum.c Sun Nov 28 18:21:53 1999 +++ ../mminstance-1.18/./edlib/strtonum.c Thu Jan 2 21:59:02 2003 @@ -18,14 +18,14 @@ { long v; - // in case strtol() doesn't return 0 on strange input + /* in case strtol() doesn't return 0 on strange input */ if (*f == '.') return strtod((char *)f, endf); - // get integer part + /* get integer part */ v = strtol((char *)f, endf, 10); - // handle any possible decimal part + /* handle any possible decimal part */ if (**endf == '.' || **endf == 'E' || **endf == 'e') return strtod((char *)f, endf); else --- ./edlib/string.cc Thu Sep 6 14:30:10 2001 +++ ../mminstance-1.18/./edlib/string.cc Thu Jan 2 21:59:02 2003 @@ -66,7 +66,11 @@ String::String(unsigned long long u) { char buf[128]; +#if defined(__sgi) + sprintf(buf, "%llu", u); +#else sprintf(buf, "%Lu", u); +#endif assign(buf, -1); }