From: caro Date: Wed, 1 Jun 2011 06:54:49 +0000 (+0000) Subject: Eina : eina_file : eina_file_size_get() should return a size_t X-Git-Tag: 2.0_alpha~70^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9628dc60119ef781c755b64925bbbbca606ddef4;p=framework%2Fuifw%2Feina.git Eina : eina_file : eina_file_size_get() should return a size_t git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59859 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/include/eina_file.h b/src/include/eina_file.h index 397ee26..a75ddac 100644 --- a/src/include/eina_file.h +++ b/src/include/eina_file.h @@ -281,7 +281,7 @@ EAPI void eina_file_close(Eina_File *file); * * @since 1.1 */ -EAPI unsigned long int eina_file_size_get(Eina_File *file); +EAPI size_t eina_file_size_get(Eina_File *file); /** * @brief Get the last modification time of an open file. diff --git a/src/lib/eina_file.c b/src/lib/eina_file.c index 97502ee..ec7eb55 100644 --- a/src/lib/eina_file.c +++ b/src/lib/eina_file.c @@ -855,7 +855,7 @@ eina_file_close(Eina_File *file) } } -EAPI unsigned long int +EAPI size_t eina_file_size_get(Eina_File *file) { return file->length; diff --git a/src/lib/eina_file_win32.c b/src/lib/eina_file_win32.c index 259dca6..1cd8665 100644 --- a/src/lib/eina_file_win32.c +++ b/src/lib/eina_file_win32.c @@ -890,7 +890,7 @@ eina_file_close(Eina_File *file) } } -EAPI unsigned long int +EAPI size_t eina_file_size_get(Eina_File *file) { return file->length;