ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 0f7ff9c0f8cef7a327c501f1bc9233b68925ec1d
parent fba9fd10537da98c14e02adc04e31ceed43f972e
Author: ByteProject <stefan.vogt@byteproject.net>
Date:   Thu, 16 Feb 2012 00:13:54 +0100

dropped int64_t in favor of size_t

Diffstat:
Mansilove/filesize.c | 4++--
Mansilove/filesize.h | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ansilove/filesize.c b/ansilove/filesize.c @@ -15,10 +15,10 @@ #include "filesize.h" #endif -int64_t filesize(char *filepath) +size_t filesize(char *filepath) { // pointer to file at path - int64_t size; + size_t size; FILE *file; // To properly determine the size, we open it in binary mode. diff --git a/ansilove/filesize.h b/ansilove/filesize.h @@ -21,6 +21,6 @@ // Returns size of a file at a given path as integer. -int64_t filesize(char *filepath); +size_t filesize(char *filepath); #endif