Subject: Re: tcl 7.4 and tk 4.0 test suite errors To: Bernd Ernesti <netbsd@arresum.inka.de> From: John F. Woods <jfw@jfwhome.funhouse.com> List: current-users Date: 08/08/1995 21:42:18
> Thats an easy fix:
> ! sprintf(interp->result, "%ld", (int)statBuf.st_size);
Please, try
! sprintf(interp->result, "%ld", (long)statBuf.st_size);
instead. "int" is not "long".
> ! sprintf(string, "%ld", (int)statPtr->st_size);
Ditto.