[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Thu May 29 20:34:33 UTC 2008


 libparted/fs/fat/traverse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 80aa1efe3451770372819231344e2c681aaae32a
Author: Colin Watson <cjwatson at ubuntu.com>
Date:   Thu May 29 22:27:13 2008 +0200

    Avoid "comparison between signed and unsigned" warning from gcc.
    
    * libparted/fs/fat/traverse.c (fat_dir_entry_get_name): Change
    type of index from int to size_t.

diff --git a/libparted/fs/fat/traverse.c b/libparted/fs/fat/traverse.c
index d3f0d35..be5efe9 100644
--- a/libparted/fs/fat/traverse.c
+++ b/libparted/fs/fat/traverse.c
@@ -341,7 +341,7 @@ fat_dir_entry_has_first_cluster (FatDirEntry* dir_entry, PedFileSystem* fs)
 */
 void
 fat_dir_entry_get_name (const FatDirEntry *dir_entry, char *result) {
-	int     i;
+	size_t i;
 	const char *src;
 	const char *ext;
 



More information about the Parted-commits mailing list