From: Enlightenment S. <no-...@en...> - 2011-06-01 06:54:55
|
Log: Eina : eina_file : eina_file_size_get() should return a size_t Author: caro Date: 2011-05-31 23:54:49 -0700 (Tue, 31 May 2011) New Revision: 59859 Trac: http://trac.enlightenment.org/e/changeset/59859 Modified: trunk/eina/src/include/eina_file.h trunk/eina/src/lib/eina_file.c trunk/eina/src/lib/eina_file_win32.c Modified: trunk/eina/src/include/eina_file.h =================================================================== --- trunk/eina/src/include/eina_file.h 2011-06-01 06:53:49 UTC (rev 59858) +++ trunk/eina/src/include/eina_file.h 2011-06-01 06:54:49 UTC (rev 59859) @@ -281,7 +281,7 @@ * * @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. Modified: trunk/eina/src/lib/eina_file.c =================================================================== --- trunk/eina/src/lib/eina_file.c 2011-06-01 06:53:49 UTC (rev 59858) +++ trunk/eina/src/lib/eina_file.c 2011-06-01 06:54:49 UTC (rev 59859) @@ -855,7 +855,7 @@ } } -EAPI unsigned long int +EAPI size_t eina_file_size_get(Eina_File *file) { return file->length; Modified: trunk/eina/src/lib/eina_file_win32.c =================================================================== --- trunk/eina/src/lib/eina_file_win32.c 2011-06-01 06:53:49 UTC (rev 59858) +++ trunk/eina/src/lib/eina_file_win32.c 2011-06-01 06:54:49 UTC (rev 59859) @@ -890,7 +890,7 @@ } } -EAPI unsigned long int +EAPI size_t eina_file_size_get(Eina_File *file) { return file->length; |