script: use uint64_t for file sizes

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2018-05-14 11:35:37 +02:00
parent aefe989338
commit 0da73643b5
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ struct script_control {
FILE *typescriptfp; /* output file pointer */
char *tname; /* timing file path */
FILE *timingfp; /* timing file pointer */
ssize_t outsz; /* current output file size */
ssize_t maxsz; /* maximum output file size */
uint64_t outsz; /* current output file size */
uint64_t maxsz; /* maximum output file size */
struct timeval oldtime; /* previous write or command start time */
int master; /* pseudoterminal master file descriptor */
int slave; /* pseudoterminal slave file descriptor */