Branch: Tag:

1999-04-25

1999-04-25 20:03:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Even more tcc paranoia.

Rev: src/modules/Image/font.c:1.47

1: - /* $Id: font.c,v 1.46 1999/04/25 20:00:57 grubba Exp $ */ + /* $Id: font.c,v 1.47 1999/04/25 20:03:36 grubba Exp $ */   #include "global.h"   #include <config.h>   
7:   /*   **! module Image   **! note - **! $Id: font.c,v 1.46 1999/04/25 20:00:57 grubba Exp $ + **! $Id: font.c,v 1.47 1999/04/25 20:03:36 grubba Exp $   **! class Font   **!   **! note
279:   }   #endif    - static INLINE size_t file_size(int fd) + static INLINE off_t file_size(int fd)   {    struct stat tmp;    if((!fd_fstat(fd, &tmp)) &&    (tmp.st_mode & S_IFREG)) -  return (size_t)tmp.st_size; +  return (off_t)tmp.st_size;    return -1;   }